ssh_connect
Establish an SSH connection to a remote server using password or SSH key authentication, with support for both IPv4 and IPv6 addresses.
Instructions
Connect to an SSH server using password or SSH key authentication. Supports IPv4 and IPv6.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | SSH server hostname or IP address (IPv4 or IPv6) | |
| port | No | SSH server port | |
| username | Yes | Username for SSH authentication | |
| password | No | Password for authentication (if using password auth) | |
| privateKey | No | Path to private SSH key file (if using key auth) | |
| passphrase | No | Passphrase for encrypted private key (optional) | |
| connectionId | No | Unique identifier for this connection | default |