remote_bash_execute
Run shell commands on a remote host over SSH, preserving working directory, environment variables, and aliases across calls using the same connection.
Instructions
Execute a command on a remote host via an established SSH connection.
Shell state (working directory, environment variables, aliases) persists across calls to the same connection_id.
Args: command: Shell command to execute. connection_id: Which connection to use. If omitted, uses the most recently active connection. timeout: Max seconds to wait for the command to complete (default 120).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No | ||
| connection_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |