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.
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 |