ssh_host_add
Save SSH host credentials under a unique alias for quick access. Later, connect using only that alias without re-entering passwords or keys.
Instructions
Save an SSH host configuration for quick access. After saving, use ssh_connect with just the alias to connect without re-entering credentials.
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_host_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Host address or IP | |
| port | No | SSH port (default: 22) | |
| tags | No | Tags for grouping (e.g. ["prod", "gpu"]) | |
| alias | Yes | Unique name for this host (e.g. "prod-web", "gpu-01") | |
| jumpHost | No | Jump host configuration | |
| password | No | SSH password | |
| username | Yes | SSH username | |
| privateKey | No | SSH private key (PEM format) | |
| description | No | Description of this host |