ssh_connect
Establish SSH connections to remote servers using host aliases from ~/.ssh/config or direct credentials. Manage servers and network devices.
Instructions
Connect to a remote server via SSH. Pass profile or host with a Host alias from ~/.ssh/config, or provide host/username/key directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname, IP, or Host alias from ~/.ssh/config | |
| port | No | SSH port (default: 22) | |
| profile | No | Host alias from ~/.ssh/config (e.g. Beta, Main, Cron). Case-insensitive. | |
| password | No | SSH password (if not using key-based authentication) | |
| username | No | SSH username | |
| passphrase | No | Passphrase for private key (if needed) | |
| connectionId | No | Unique identifier for this connection (defaults to profile name or ssh-<timestamp>) | |
| privateKeyPath | No | Path to private key file (if using key-based authentication) |