Getting started · 5 min
Add an SSH key
Create an SSH key on your computer and add it to Rack'Em, so you sign in without a password.
An SSH key is a pair of files: a private key that stays on your computer, and a public key you give to Rack'Em. Servers created with your key let you in without a password, and they're far harder to break into.
1. Create a key on your computer
Run this in PowerShell (Windows) or Terminal (Mac, Linux). Press Enter to accept the default location, and optionally set a passphrase:
ssh-keygen -t ed25519 -C "you@example.com"2. Copy your public key
Windows (PowerShell):
Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub | Set-ClipboardMac:
pbcopy < ~/.ssh/id_ed25519.pubLinux (or anywhere, then copy the output by hand):
cat ~/.ssh/id_ed25519.pub3. Add it to Rack'Em
- Go to SSH keys in the panel.
- Give the key a name (for example "My laptop") and paste the public key.
- Save. It's now offered whenever you create a server.
Keys and existing servers
Keys are added to a server when it's created. To use a new key on a server you already have, add the public key to /root/.ssh/authorized_keys on that server:
echo "ssh-ed25519 AAAA... you@example.com" >> /root/.ssh/authorized_keysStuck? Contact us or open a support ticket from your panel.