ssh_connect
Connect to a JumpServer bastion and establish a persistent SSH session using a server ID from configuration.
Instructions
通过 config.json 配置连接 JumpServer 堡垒机并建立持久 SSH 会话。
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": {
"server_id": "<server_id>"
},
"name": "ssh_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | 连接超时秒数 | |
| server_id | Yes | 配置中的服务器 ID(如 dev1-api、dev1-go-mid),见 ssh_list_servers |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |