ssh_execute_script
Execute multi-line scripts or code blocks on remote SSH servers. Handles code blocks with triple backticks automatically for bash, Python, Node.js and other interpreters.
Instructions
Execute a multi-line script or code block on an SSH connection. Automatically handles code blocks with triple backticks.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | Script or code block to execute. Can include triple backticks (```bash, ```python, etc.) | |
| interpreter | No | Script interpreter to use (bash, sh, python, python3, node, etc.) | bash |
| connectionId | No | Connection ID to use | default |
| timeout | No | Script timeout in milliseconds | |
| workingDir | No | Working directory to execute script in (optional) |