ssh_connect
Connect to a remote SSH server and get a session ID for executing commands or transferring files.
Instructions
Establish an SSH connection to a remote server. Returns a session ID for subsequent operations.
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 server hostname or IP address | |
| port | No | SSH server port (default: 22) | |
| username | Yes | SSH username | |
| password | No | SSH password (for password authentication) | |
| privateKey | No | Private key content or file path (for key authentication) | |
| privateKeyPassphrase | No | Passphrase for encrypted private key | |
| timeout | No | Connection timeout in milliseconds |