ssh_connect
Establish a secure SSH connection to a remote host by specifying host, username, port, and optional private key. Supports multiplexing for efficient session management.
Instructions
Establish an SSH connection to a remote host
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>",
"username": "<username>"
},
"name": "ssh_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Remote hostname or IP address | |
| port | No | SSH port (default: 22) | |
| keyPath | No | Path to private key file (optional) | |
| username | Yes | SSH username | |
| useControlMaster | No | Enable ControlMaster for connection multiplexing |