ssh_connect
Open an SSH session to a remote server with password or key authentication, returning a session ID for command execution and file transfers.
Instructions
Establish an SSH connection to a remote server. Returns a session ID for subsequent operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP address of the SSH server | |
| port | No | SSH port (default: 22) | |
| password | No | Password for authentication (use this OR privateKey/privateKeyPath) | |
| username | Yes | Username for SSH authentication | |
| passphrase | No | Passphrase for encrypted private key | |
| privateKey | No | Private key content as string (use this OR password OR privateKeyPath) | |
| privateKeyPath | No | Path to private key file (use this OR password OR privateKey) |