execute-command
Run any shell command on a remote SSH server and get its output. Set a working directory, timeout, or choose a specific connection for execution.
Instructions
Execute command on connected server and get output result
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Command execution timeout in milliseconds (optional; overrides the connection's commandTimeoutMs or shellCommandTimeoutMs, which defaults to 30000ms) | |
| cmdString | Yes | Command to execute | |
| directory | No | Working directory for command execution | |
| connectionName | No | SSH connection name (optional, default is 'default') |