ssh_execute
Executes commands on remote hosts over SSH using key-based authentication, enabling automated remote task execution via saved profiles or explicit connection details.
Instructions
Execute a command on a remote host via SSH (key-based authentication only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Remote hostname or IP address | |
| port | No | SSH port (default: 22) | |
| command | Yes | Command to execute remotely | |
| profile | No | Name of saved SSH profile to use instead of specifying host/username/key | |
| timeout | No | Connection timeout in seconds (default: 30) | |
| username | No | SSH username | |
| identity_file | No | Path to SSH private key (optional) |