cascade_remote_bash
Execute shell commands on an opened remote SSH target, returning stdout, stderr, and exit code. Set execution timeouts and cancel cleanly by killing child process trees.
Instructions
Execute a shell command on an opened remote target. Returns stdout, stderr, and exit code. Supports execution timeout in seconds. Cancellation cleanly kills child process trees using pidfd/procfs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | READY target handle (e.g. target-1) | |
| command | Yes | Shell command to run on target | |
| timeout | No | Execution timeout in seconds |