test_ssh_connection
Verify SSH access to a host via its SSH config alias. Checks connectivity without running commands and returns success or failure within a configurable timeout.
Instructions
Test SSH connectivity to a host without running a command.
Args:
hostname: Host alias from SSH config.
timeout: Connection timeout, seconds (default 30, max 300).
Returns:
Whether the connection succeeded or failed.
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": {
"hostname": "<hostname>"
},
"name": "test_ssh_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| hostname | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |