ssh_execute_script
Execute multi-line bash scripts on remote Linux machines via SSH, with configurable session and timeout.
Instructions
Execute a multi-line bash script on the remote machine.
The script is passed to bash via stdin. Use this for complex operations.
Args: script: Multi-line bash script content session_name: SSH session to use (default: 'default') timeout: Script timeout in seconds (default: 60, max: 300)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| timeout | No | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |