ssh_run
Execute shell commands on remote hosts over SSH, with per-host permission enforcement and SSH key authentication.
Instructions
Run a command on a remote host via SSH. Permission scoped per host (ssh.hostname). Requires SSH keys configured.
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_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Remote hostname or IP | |
| port | No | SSH port (default: 22) | |
| user | No | SSH user (default: root) | |
| command | Yes | Command to execute |