ssh_session_command
Run commands on a remote host through an active SSH session, capturing output with a configurable timeout.
Instructions
Execute a command in an active SSH session.
Args: session_id: The SSH session ID command: Command to execute on the remote host timeout: Command timeout in seconds (default: 60)
Returns: Command output from remote host
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |