SSH keys are safer and more convenient than passwords. You keep a private key on your computer and put the matching public key on the server. We accept ssh-ed25519, sk-ssh-ed25519 (hardware security keys) and ssh-rsa public keys.
1. Generate a key pair
On Windows 10/11 (PowerShell or Windows Terminal), macOS or Linux, run:
ssh-keygen -t ed25519 -C "[email protected]"
Accept the default location and choose a passphrase. This creates two files in the .ssh folder of your home directory:
id_ed25519: your private key. Never share it with anyone, including us.id_ed25519.pub: your public key, which is what you give to servers.
If you need RSA, use ssh-keygen -t rsa -b 4096. For a FIDO2 hardware key, use ssh-keygen -t ed25519-sk.
2a. Add the key when you order
Paste the full contents of id_ed25519.pub (one line starting with ssh-ed25519) into the SSH key field of the order form. The key is installed for root, and it's kept if you reinstall later. To display it:
cat ~/.ssh/id_ed25519.pub
In PowerShell: Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub
2b. Add a key to a running server
Append the public key to ~/.ssh/authorized_keys on the server. In the examples below, replace 203.0.113.10 with your server's IP address and 10200 with its SSH port (the first of its forwarded ports, shown on the service page). From macOS or Linux:
ssh-copy-id -i ~/.ssh/id_ed25519.pub -p 10200 [email protected]
From Windows PowerShell:
Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub | ssh -p 10200 [email protected] "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"
~/.ssh/authorized_keys for that.Open a new terminal and check that ssh -p 10200 [email protected] logs you in without the server password.
3. Disable password login (recommended)
Create a configuration file whose name sorts first in that folder (for SSH, the first value found wins):
cat > /etc/ssh/sshd_config.d/01-keys-only.conf <<'EOF'
PasswordAuthentication no
KbdInteractiveAuthentication no
PermitRootLogin prohibit-password
EOF
Check the configuration, then restart SSH:
sshd -t && sshd -T | grep -Ei '^(passwordauthentication|permitrootlogin)'
systemctl restart ssh # Debian / Ubuntu
systemctl restart sshd # AlmaLinux / Rocky Linux
From a new terminal, confirm that passwords are now refused. You should see Permission denied (publickey):
ssh -o PubkeyAuthentication=no -p 10200 [email protected]
The web console isn't affected by these settings, and it logs in with a password, not a key. Keep a password you know for root (or your sudo user) so the console stays a working fallback.