exec
Run shell commands on a remote Linux machine via SSH, returning stdout, stderr, and exit code.
Instructions
Execute a shell command on a remote session. Returns stdout, stderr, exit_code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to execute | |
| timeout | No | Timeout in seconds (default 30) | |
| session_id | Yes | Session ID |