ssh_connection_status
Check and manage live SSH connections held by the server process. View active connections, reconnect, disconnect, or clean up stale ones without affecting remote state.
Instructions
Inspects and manages the pooled SSH connections held by this server process; affects only local in-memory connections, never remote state. The action parameter selects: status lists active connections with age and keepalive (read-only); reconnect closes then reopens one connection; disconnect closes one connection; cleanup drops aged-out and dead connections. The server parameter is required for reconnect and disconnect and ignored otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| server | No | Server name (for reconnect/disconnect) |