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)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command": "<command>"
},
"name": "ssh_execute"
}
}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) |