remote-ssh
Execute commands on remote servers via SSH using private key authentication.
Instructions
Execute SSH commands on remote servers with private key authentication
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>",
"user": "<user>",
"command": "<command>"
},
"name": "remote-ssh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Remote server hostname or IP address | |
| user | Yes | SSH username | |
| command | Yes | Command to execute on remote server | |
| privateKeyPath | No | Path to SSH private key (optional, falls back to SSH_PRIVATE_KEY env var) | |
| port | No | SSH port (default: 22) |