Managing SSH Keys
Create keys, add them to your account, authorise extra keys on a running Mac and remove keys you no longer trust.
On this page
Create a key
Ed25519 keys are short, fast and widely supported. Protect the key with a passphrase when prompted.
$ ssh-keygen -t ed25519 -C "<email>"This creates a private key (~/.ssh/id_ed25519) and a public key (~/.ssh/id_ed25519.pub). Only the public key is ever shared.
Add a key to your account
Paste the contents of the .pub file into Dashboard → SSH keys and give it a name. Keys you select at checkout are installed when your Mac is provisioned.
Authorise another key on a running Mac
To allow an additional key on a Mac you are already using, append it to ~/.ssh/authorized_keys on that Mac. Copy the new public key (the .pub file) to a computer that can already sign in, then run:
$ cat new_key.pub | ssh my-mac "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"Remove a key
Delete the matching line from ~/.ssh/authorized_keys on the Mac and remove the key from Dashboard → SSH keys. If you think a private key was exposed, remove it everywhere, change your macOS password and contact support.
Password sign-in
Need a hand? Check the status page or contact support.