Create an SSH key and add it to your account
Updated 27 Nov 2026 ssh keys
Generate a key pair on your computer and share only the public half.
An SSH key pair has a private key that stays on your computer and a public key that you give to servers.
Create a key
On Linux, macOS or Windows 10 and later, open a terminal:
ssh-keygen -t ed25519 -C "you@laptop"
Press Enter to accept the default location and set a passphrase when asked.
Copy the public key
Linux or macOS:
cat ~/.ssh/id_ed25519.pub
Windows PowerShell:
Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub
The output is one line starting with ssh-ed25519.
Add it
Paste that line under SSH keys in your dashboard and give it a name.
Never share the file without .pub. If a private key has been exposed, create a new pair and remove the old public key from your servers.
Adding a key to a running server
Keys chosen in the dashboard are installed when a server is deployed or reinstalled. To add one to a running server:
echo "ssh-ed25519 AAAA... you@desktop" >> ~/.ssh/authorized_keys