ssh_exec
Execute commands on remote SSH hosts via JumpServer. Automatically resolve host aliases or IPs from SSH configuration.
Instructions
Execute a command on a remote SSH host. The host must be defined in the SSH configuration or resolvable via JumpServer.
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": {
"host": "<host>",
"command": "<command>"
},
"name": "ssh_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | SSH host alias from the configuration, or an IP/hostname to resolve via JumpServer | |
| command | Yes | Command to execute on the remote host | |
| timeout_ms | No | Command timeout in milliseconds (default: 60000) |