ssh_status
Check active SSH sessions and their connection details. List all sessions or verify a specific session's connectivity.
Instructions
Check the status of SSH connection sessions.
This tool reports which SSH sessions are active and their connection details.
Args: params (StatusInput): Validated input parameters containing: - session_id (Optional[str]): Specific session to check, or None to list all active sessions
Returns: str: JSON-formatted status information for active sessions
Examples: - Use when: "Check all active SSH connections" -> params with session_id=None - Use when: "Verify if connection to server is still active" -> params with specific session_id - Don't use when: Need to execute commands (use ssh_execute instead)
Error Handling: - Returns "No active sessions" if no connections are established - Returns specific session info if session_id is provided and valid
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |