ssh_exec
Execute a remote command on any registered SSH host using its host ID. Supports Linux and MikroTik systems through configured transports.
Instructions
Execute a command on a configured host by host_id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Remote command (bash on Linux; RouterOS on MikroTik hosts) | |
| host_id | Yes | Host id from ssh_list_hosts (e.g. prod-openwrt, dslab-ml) | |
| timeoutMs | No | Timeout in milliseconds (default 120000) |