All help articles

Hatch, the emergency shell

On this page

Hatch is how you reach your servers when nothing else works: you lost the network, locked yourself out with a firewall rule, or the server won't boot. It's an SSH service of ours, not on your server. Through it you can:

You can use it on the servers of every organization you own or administer. Each option works as it does on your account page, so your plan's features and the server's status apply.

Add your SSH key

Hatch signs you in with an SSH key, never a password.

  1. On your account page, open Security → SSH keys, then Add a key.
  2. Paste your public key. That's the line in your .pub file, for example ~/.ssh/id_ed25519.pub. Never paste the private key.
  3. Enter your current password.

Ed25519, ECDSA, security keys (sk-…) and RSA keys of 2048 bits or more work. We email you whenever a key is added. To make a key, run ssh-keygen -t ed25519.

Connect

When Hatch is offered, the SSH keys card shows the command to use, for example:

ssh -p 2222 'you@example.com'@hatch.example.com

The key says who you are, so any user name works; the card shows your email. A key can be on only one account: for a second account, make a second key.

The first time you connect, your SSH program asks whether to trust the host key. Check that it matches the fingerprint on the card.

If you turned on two-step sign-in for your account, Hatch asks for a code from your authenticator app after your key. A recovery code works too, once. You get three tries a connection.

After you sign in, Hatch shows a menu:

Everything outside the servers works exactly as on the account page, with the same permissions. While you're connected, Hatch appears in your account's Sessions as "Hatch (SSH)". Signing out everywhere ends it, and so does disconnecting. Paying, plan changes and mailbox changes stay on the account page.

Pick a server under s, then:

Hatch closes after 30 minutes without typing. It doesn't run commands or copy files (scp, sftp).

Use it as a jump host

With the Jump host feature on a server's plan, Hatch can carry your own SSH connection to that server:

ssh -J 'you@example.com'@hatch.example.com:2222 root@203.0.113.10

Or in ~/.ssh/config:

Host myserver
    HostName 203.0.113.10
    User root
    ProxyJump you@example.com@hatch.example.com:2222

Keep it safe

A key reaches every server you manage, so:

The card shows when each key was last used. Every Hatch sign-in and action is recorded in your organization's activity.

Back to top