ssh_connect
Establish an SSH connection to a remote host and keep it alive for running shell commands and managing devices.
Instructions
Establish an SSH connection to a remote host. Connection is kept alive for subsequent commands.
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 | IP address or hostname | |
| port | No | SSH port (default: 22) | |
| password | No | SSH password (optional if using key) | |
| username | Yes | SSH username | |
| key_filename | No | Path to SSH private key file (optional if using password) |