Execute CLIO tasks on remote systems via SSH
CLIO can execute tasks on remote systems, offloading work to other machines while you control everything from your local terminal.
: /remote exec user@hostname "analyze log files in /var/log"
: /remote exec user@server "generate report" --retrieve report.pdf
: /remote exec user@server "task description" --no-cleanup
Register frequently-used devices in ~/.clio/devices.json
: /remote exec build-server "compile project"
# Execute on device group
: /remote parallel servers "check disk space"
# Execute on all devices
: /remote parallel all "update dependencies"
| Option | Description |
|---|---|
--model MODEL |
Specify AI model for remote |
--provider PROVIDER |
Specify AI provider |
--working-dir PATH |
Remote working directory |
--ssh-key PATH |
SSH private key |
--port NUM |
SSH port (default: 22) |
--timeout SECS |
Execution timeout |
--no-cleanup |
Leave CLIO installed |
--retrieve FILES |
Files to fetch from remote |
: /remote exec build-server "compile release build" --retrieve dist/app.tar.gz
: /remote exec prod-server "analyze nginx logs for errors in last hour"
: /remote exec gpu-box "train model with dataset.csv" --retrieve model.pth
: /remote parallel servers "check for security updates"