Run Remote Command
remote_ssh_execExecute shell commands on a remote host over SSH, reusing your existing OpenSSH configuration and keys.
Instructions
Run a shell command on the configured SSH host. Reuses your local OpenSSH config and keys.
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": "remote_ssh_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Remote working directory. | |
| env | No | Environment variables to export before running the command. | |
| host | No | SSH hostname or IP address. Overrides REMOTE_SSH_HOST. | |
| command | Yes | Command to run on the remote host. | |
| timeoutMs | No | Timeout in milliseconds. | |
| maxOutputBytes | No | Maximum captured bytes per stdout/stderr stream. |