ssh_connect
Connect to a remote SSH server and get a session ID for executing commands or transferring files.
Instructions
Establish an SSH connection to a remote server. Returns a session ID for subsequent operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | SSH server hostname or IP address | |
| port | No | SSH server port (default: 22) | |
| username | Yes | SSH username | |
| password | No | SSH password (for password authentication) | |
| privateKey | No | Private key content or file path (for key authentication) | |
| privateKeyPassphrase | No | Passphrase for encrypted private key | |
| timeout | No | Connection timeout in milliseconds |