ssh_exec
Execute shell commands on a remote Linux server via SSH with configurable timeout and output caps; destructive commands are blocked.
Instructions
Execute a shell command on the selected remote Linux server. Timeout is in seconds (default 30, maximum 300); stdout and stderr are capped at 1 MiB each. Common destructive commands are blocked. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Exact configured server alias returned by ssh_list_servers. | |
| command | Yes | ||
| timeout | No | Command timeout in seconds (1–300), default 30. |