ssh_connect
Establish an SSH connection to an Ubuntu server and store it under an alias for subsequent management commands.
Instructions
Connect to an Ubuntu server via SSH. Stores the connection under an alias for subsequent commands.
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": {
"alias": "<alias>",
"host": "<host>",
"username": "<username>"
},
"name": "ssh_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP address | |
| port | No | SSH port (default 22) | |
| alias | Yes | Short name for this connection, e.g. 'prod' or 'staging' | |
| password | No | Password (use privateKeyPath instead for production) | |
| username | Yes | SSH username | |
| passphrase | No | Passphrase for the private key, if encrypted | |
| privateKeyPath | No | Absolute path to private key file on the LOCAL machine |