ssh_execute
Execute shell commands on a remote Linux machine via SSH. Returns stdout, stderr, and exit code.
Instructions
Execute a shell command on the remote Linux machine.
Returns stdout, stderr, and exit code. Output is truncated if too large.
Args: command: Shell command to execute (e.g., 'ls -la /var/log') session_name: SSH session to use (default: 'default') timeout: Command timeout in seconds (default: 30, max: 300)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |