ACCOUNT(7)Miscellaneous Information ManualACCOUNT(7)

account — invitations, ssh keys and host keys

The account is a user name and a set of ssh keys. Any of the keys logs in, to chroot.dev and to every VM, except a key added with --ci, for CI: it runs only a few commands, reaches only the VMs it created, through chroot.run, and never logs in to a VM directly; see ssh-key(1).

Ed25519 and ECDSA keys are accepted; RSA keys are not. The RSA code available to chroot.dev leaks private keys through the time its operations take (the Marvin attack, CVE-2023-49092), and no fixed version exists. chroot.dev would only check RSA signatures, which the flaw does not reach, but it leaves that code out of the service entirely instead.

A connection with only an RSA key says so and exits 1:

$ ssh chroot.dev
RSA keys are not accepted; create an ed25519 key with: ssh-keygen -t ed25519

Create an Ed25519 key and connect with it:

$ ssh-keygen -t ed25519
$ ssh -t -o IdentitiesOnly=yes -i ~/.ssh/id_ed25519 chroot.dev

An account whose only keys are RSA no longer logs in; send the new public key to contact@chroot.dev.

During the beta, accounts are created by invitation. Ask at invite@chroot.dev; you get a one-time code by email. The code expires 14 days after it is issued; an expired one is refused with ‘invite expired; ask for a new one’. Connect with the key you want to use and type the code, then a user name of lowercase letters, digits and hyphens:

$ ssh -t -o IdentitiesOnly=yes -i ~/.ssh/id_ed25519 chroot.dev
invite: code
email: alice@example.org (from the invite)
user: alice

ssh(1) offers every key in your agent and the first one accepted wins, so name the key explicitly, here or in ssh-config(7).

A code given some other way asks for an email address too, and sends a second code to it; type that one at ‘code:’. It expires in 15 minutes. At most 3 such codes an hour go to one address, for one invite, or from one source address (an IPv6 /64 counts as one); past that, try again later. If the address already has an account, the email says so instead of carrying a code; connect with one of that account's keys. The address is used for notices about the service, never for ads.

At ‘user:’, ‘github:user’ or ‘sourcehut:~user’ takes the name of that account and adds the key you connect with, which must be among its public keys, as published at ‘https://github.com/user.keys’ and ‘https://meta.sr.ht/~user.keys’. RSA keys there are skipped; an account with only RSA keys is refused. A different name may follow: ‘github:alice al’.

The other keys there are not added on their own: each needs a signature by its private key, as in KEYS; the lobby prints the challenge, valid 15 minutes. Later, ‘ssh-key add github:user’ asks for them again, only on the account that signed up with it. Later changes on GitHub or sourcehut do not reach chroot.dev.

chroot.dev and chroot.run share one host key:

ED25519 SHA256:y0rdGMRXmIFbxKPP6Qhmcx6Npr/rH8PdfYEgv+zehoo

Compare it before the first connection:

$ ssh-keyscan -t ed25519 chroot.dev 2>/dev/null | ssh-keygen -lf -

Your ssh never sees the host keys of the VMs: the connection ends at chroot.run, which reaches the VM over the internal network.

A key is added only with a signature by its private key. From a machine that already logs in, send the new public key; the answer is a challenge, with exit status 1:

$ ssh chroot.dev ssh-key add < id_laptop.pub
SHA256:...: not added; to add it, sign a challenge with its private
key within 15 minutes: echo NONCE | ssh-keygen -Y sign -n
add-key@chroot.dev -f PRIVATE_KEY | ssh chroot.dev ssh-key add

Sign it where the private key is, and send the signature from a machine that logs in:

laptop$ echo NONCE |
    ssh-keygen -Y sign -n add-key@chroot.dev -f ~/.ssh/id_laptop >sig
$ ssh chroot.dev ssh-key add < sig
$ ssh chroot.dev ssh-key list

A new challenge replaces the previous one. Keys added later reach running VMs on their next boot.

ssh-key(1), whoami(1), chroot.dev(7), ssh-config(7)

chroot.devOctober 13, 2026ACCOUNT(7)