check_ssh_connection
Verify SSH connection status to remote servers by checking connectivity, host details, and authentication parameters to ensure reliable access.
Instructions
检查SSH连接状态
Args:
connection_name: SSH连接名称,如果不指定则使用默认连接
Returns:
Dict包含连接状态信息:
- connected: 是否能够连接
- connection_name: 连接名称
- host: 目标主机
- port: 目标端口
- username: 用户名
- error: 错误信息(如果有)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_ssh_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_name | No |