ssh_open_session
Opens an SSH session with configurable authentication (password, key, agent) for remote shell access and command execution.
Instructions
Opens a new SSH session with authentication
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | SSH server hostname or IP | |
| username | Yes | SSH username | |
| port | No | SSH port (default: 22) | |
| auth | No | Authentication method (default: auto) | |
| password | No | Password for authentication | |
| privateKey | No | Inline private key content | |
| privateKeyPath | No | Path to private key file | |
| passphrase | No | Passphrase for encrypted private key | |
| useAgent | No | Use SSH agent for authentication | |
| readyTimeoutMs | No | Connection timeout in milliseconds (default: 20000) | |
| ttlMs | No | Session TTL in milliseconds (default: 900000) |