Connect or Probe SSH Target
ssh_connectEstablish, reconnect, or health-probe a pooled SSH connection to a target host, returning remote OS platform, shell, home directory, transport, read-only status, and latency.
Instructions
Explicitly establish, reconnect, or health-probe a pooled SSH connection. Returns remote OS platform, shell, home directory, active transport, read-only status, and latency. Note: other SSH tools also auto-connect lazily.
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>"
},
"name": "ssh_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shell | No | Override remote shell detection (default: auto) | |
| target | Yes | SSH target as configured host alias, host, user@host, user@host:port, or [ipv6]:port. Never include remote paths in target. | |
| reconnect | No | Force closing any existing pooled connection and establish a fresh one | |
| transport | No | Override transport engine (default: auto) | |
| ssh_config | No | Optional alternate local OpenSSH config file path |