Skip to Content
CLIConnect

Connect to another machine

Open an interactive terminal on another enrolled machine:

cmdop connect <machine>

Run cmdop connect without a machine name to choose from the available online machines. To inspect candidates without connecting:

cmdop connect --list cmdop connect --list --json

connect exec is currently limited to a target resolved through this host’s embedded relay. It is not a general cross-host automation command. For that local-relay scope, place the command after --:

cmdop connect exec <machine> -- uptime cmdop connect exec <machine> --timeout 60 -- ./deploy.sh

The command’s output and exit status are passed back to the caller. Use --json when the caller needs structured output, and verify that the selected target is served by this host before using the command in automation.

For interactive cross-host access, the target must be enrolled, running, and reachable at its configured remote-terminal address. For one-shot execution, the target must be served by this host’s embedded relay. cmdop start makes the current machine available; it is not an alias for cmdop connect.