Open SSH connection
connectOpen a temporary in-memory SSH connection to a remote host using password or private key. Credentials are held only in RAM and are wiped on disconnect.
Instructions
Open a temporary in-memory SSH connection. Requires host, username, and either password OR privateKey (PEM). All credentials are kept in RAM only and wiped on disconnect. WARNING: this connects to a real remote host and host-key checking is disabled — the calling user is responsible for trust.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP of the SSH server. | |
| port | No | SSH port (default 22). | |
| password | No | Optional password. Never logged or returned. | |
| username | Yes | Remote SSH username. | |
| passphrase | No | Optional passphrase for the private key. Never logged or returned. | |
| privateKey | No | Optional PEM-encoded private key. Never logged or returned. | |
| connectionName | Yes | Caller-chosen handle used to refer to this connection in later tool calls. | |
| readyTimeoutMs | No | How long to wait for the SSH handshake (default 30000). | |
| keepaliveIntervalMs | No | Keepalive interval in ms (default 10000). |