ssh_connect
Connect to remote servers via SSH using password or private key authentication, enabling command execution and file transfers.
Instructions
建立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": {
"host": "<host>",
"username": "<username>"
},
"name": "ssh_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | SSH服务器主机名或IP地址 | |
| username | Yes | SSH用户名 | |
| port | No | SSH端口 | |
| password | No | SSH密码 | |
| private_key | No | 私钥文件路径 | |
| private_key_password | No | 私钥密码 |