ssh_exec
Run commands on a remote server over SSH and capture full output including errors and exit codes.
Instructions
Execute a command on the remote server via SSH. Returns stdout, stderr, and exit code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID from ssh_connect | |
| command | Yes | Command to execute on the remote server | |
| timeout | No | Command timeout in milliseconds |