cleanup_dead_sessions
Cleans up dead SSH sessions by terminating any session whose connection has closed. Optionally waits for a specified age before removal.
Instructions
Kill all sessions where the SSH connection has closed.
Args: max_age_seconds: Optional. Only kill sessions that have been dead for at least this many seconds. If omitted, all dead sessions are killed immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_age_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |