ssh
Connect to a remote host via SSH and execute commands, using username and optional private key for authentication.
Instructions
Connect to a target via SSH
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": {
"target": "<target>",
"user": "<user>",
"command": "<command>"
},
"name": "ssh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target host | |
| user | Yes | Username | |
| command | Yes | Command to run on remote host | |
| privateKey | No | Private key for authentication (PEM format, optional, or path to key file) |