INTRO(1)General Commands ManualINTRO(1)

intro — introduction to the chroot.dev commands

ssh chroot.dev command [argument ...] [--json | --plain]

ssh -t chroot.dev

Everything in chroot.dev is a command sent over ssh(1) to chroot.dev: the account, the VMs, who reaches their web pages. There is no web console and nothing to install.

With a command, ssh runs it and exits. With -t and no command, it opens a shell where commands are typed without the ‘ssh chroot.dev’ prefix; help lists them and exit leaves. Without -t, commands can be piped in, one per line.

The shell's prompt is the account name, as in ‘alice>’. Lines are edited with the keys below, where ^ is Ctrl and M- is Alt, or Esc typed before the key. The history holds the lines typed in this connection, up to 500, and is gone when it ends; a line that starts with a space is left out.

^A, Home
start of the line
^E, End
end of the line
^B, Left
back one character
^F, Right
forward one character
M-b, Ctrl-Left
back one word
M-f, Ctrl-Right
forward one word
^H, Backspace
delete the character before the cursor
^D, Delete
delete the character under the cursor; ^D on an empty line leaves the shell
^K
delete to the end of the line
^U
delete to the start of the line
^W
delete the word before the cursor
^Y
put back what ^K, ^U or ^W deleted last
^T
swap the character under the cursor with the one before it
^L
clear the screen
^P, Up
the previous line in the history
^N, Down
the next line; past the newest, the line being typed
^C
drop the line
^R
search the history

^R searches from the newest line back, on the prompt's row: ‘(search 'nw')> new web’. A line matches when it holds the characters typed in the same order, not necessarily together, in either case; they are drawn in bold. ^R again goes to an older match and ^S to a newer one; with none left the prompt says ‘failed search’. Enter runs the line found, any editing key keeps it on the line to be changed, and ^G or Esc cancels the search and brings back the line as it was.

When TERM is dumb there is no line editing: typing, Backspace, ^C, ^U, ^D and Enter only.

Every command accepts --json, which prints the result as JSON instead of text. On the ssh command line it goes after the command: ssh(1) takes a dash option right after chroot.dev, such as --json or -h, as one of its own and fails, so one there needs -- before it:

$ ssh chroot.dev -- --json ls

The same commands run over HTTPS with a token; see api(7).

With a terminal (-t), the result is drawn as a report 72 columns wide: boxes, one key per line, and bars for what is used of a limit. Without -t, or when TERM is vt220, vt100, wsvt25 or dumb, as on the OpenBSD console, it is plain text, one item per line, for grep(1) and awk(1). --plain asks for the plain text with any terminal.

VMs are reached by name: ‘ssh vm+name@chroot.run’ for a shell and https://name.chroot.run for the web page. Each VM also has a public IPv6 address, open to the internet on every port, past the lobby and the shares: filter it with pf.conf(5) in the VM; see new(1).

Each command has its own page, listed in the manual index: https://chroot.dev/man/.

0 when the command succeeds, 1 when it fails.

List the VMs as JSON and keep only the names:

$ ssh chroot.dev ls --json | jq -r '.vms[].vm_name'

Run several commands in one connection:

$ printf 'stop web\nstart web\n' | ssh chroot.dev

Errors go to standard error and end with a reference:

$ ssh chroot.dev stat wbe
wbe: does not exist (ref 3fa9c1d2)

An error on our side says “internal error”; when it persists, write to contact@chroot.dev with the reference.

‘ssh vm+name’ that cannot reach the VM prints why and exits 1; another account's VM reads as one that does not exist:

$ ssh vm+wbe@chroot.run
vm+wbe: no such VM or no access (ref 8c41e07a)

With --json, the error goes to standard output as an object:

{
  "error": "wbe: does not exist (ref 3fa9c1d2)",
  "kind": "not_found",
  "ref": "3fa9c1d2"
}

The kinds are:

not_found
no VM, key, plan or integration by that name
conflict
the name is taken, or the VM is in the wrong state for the command
limit
over a plan, account or rate limit
invalid
a malformed argument
denied
not allowed for this account or token
unavailable
not possible right now, or not offered here; try again later
internal
our fault

ssh(1), account(7), api(7), chroot.dev(7)

chroot.devOctober 14, 2026INTRO(1)