boxd.sh.
Single commands
Pass any command directly:Interactive shell
SSH without a command to get theboxd> prompt:
Running commands inside machines
Useexec to run commands inside a machine:
boxd user, which has passwordless sudo. The working directory is /home/boxd.
For interactive commands (editors, REPLs), add --tty:
Connecting interactively
connect opens a full interactive shell session inside a machine:
boxd user. Use this for interactive work — editing files, running a REPL, debugging.
connect requires a terminal with PTY support. For automation, use exec instead.Managing proxies
Every machine gets a default proxy atname.boxd.sh forwarding to port 8000. You can change the port and create additional subdomain proxies.
The
--vm flag is required for proxy new, proxy delete, and proxy set-port via SSH. For proxy list, --vm is optional — omit it to list all proxies. Inside a VM, the boxd CLI defaults to the current machine for all proxy commands.JSON output
Add--json to any command for structured output: