ssh_exec
Execute commands on remote servers through SSH connections to manage systems and run scripts remotely.
Instructions
Execute a command on the remote server
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": {
"connectionId": "<connectionId>",
"command": "<command>"
},
"name": "ssh_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | Yes | ID of an active SSH connection | |
| command | Yes | Command to execute | |
| cwd | No | Working directory for the command | |
| timeout | No | Command timeout in milliseconds |