Quick answer
How do I add an SSH key to a dedicated server?
Create a key pair with ssh-keygen -t ed25519, then paste the one-line public key into the SSH public key field at CryptoDedicated checkout: root then logs in with that key only. On a running machine, append the line to /root/.ssh/authorized_keys or use ssh-copy-id. Machines cost from $83.69 for 30 days, payable in crypto.
In brief
- Accepted formats: a single line with an ssh-ed25519, ssh-rsa or ecdsa-sha2 prefix, which the checkout validates.
- Public half only: the file ending in .pub goes to the server; the file without .pub never leaves the computer.
- At checkout: with a key, password logins are disabled from day one; no key means a temporary root password.
- After delivery:
ssh-copy-idor a manual append to authorized_keys, permissions 700 and 600. - At reinstall: the dashboard asks for a new key and keeps the old one if the field is left empty.
Which key type should I generate?
Ed25519 is the right default in 2026: short keys, fast signatures and support in every current OpenSSH client and server.
| Type | Prefix in the .pub line | Command | When to use it |
|---|---|---|---|
| Ed25519 | ssh-ed25519 | ssh-keygen -t ed25519 | Default for every new key |
| RSA 4096 | ssh-rsa | ssh-keygen -t rsa -b 4096 | Old clients or tools without Ed25519 |
| ECDSA P-256 | ecdsa-sha2-nistp256 | ssh-keygen -t ecdsa -b 256 | Hardware tokens that only offer NIST curves |
| Ed25519 on a FIDO token | [email protected] | ssh-keygen -t ed25519-sk | After delivery only: the checkout field does not take sk- keys |
How do I create a key and paste it at checkout?
Open a terminal
Terminal on Linux or macOS, PowerShell on Windows 10 and 11; OpenSSH ships with all three.
Generate the pair
Run ssh-keygen -t ed25519 -C "cryptodedicated" and set a passphrase when asked; it protects the private key if the laptop is lost.
Print the public key
Print ~/.ssh/id_ed25519.pub and select everything on that line, comment included.
Paste it into SSH public key
On Configure your dedicated server, the Access step holds the field. The summary then reads that the key is ready.
Connect once the IP appears
Run the SSH command from the server page (ssh [email protected] in this example) and confirm the host fingerprint.
ssh-keygen -t ed25519 -C "cryptodedicated"
cat ~/.ssh/id_ed25519.pub # PowerShell: Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub
# add the key to a machine that is already running
ssh-copy-id -i ~/.ssh/id_ed25519.pub [email protected]
# or by hand, from a session already open on the server
install -d -m 700 /root/.ssh
echo 'ssh-ed25519 AAAAC3Nza... cryptodedicated' >> /root/.ssh/authorized_keys
chmod 600 /root/.ssh/authorized_keys
# test the key alone, without falling back to a password
ssh -o PasswordAuthentication=no -i ~/.ssh/id_ed25519 [email protected]What if the server arrived with a root password instead?
Add the key first, test it, then turn password login off. A machine ordered without a key shows a temporary root password on its server page. The client area recommends two moves: run passwd at the first login, then append a public key to root's authorized_keys and switch PasswordAuthentication to no.
On the Debian and Ubuntu images, putting that setting in its own file under /etc/ssh/sshd_config.d/ is cleaner, because package updates never overwrite it. The difference between both delivery modes is laid out in SSH key or root password.
How do I give a second person access?
Give that person a separate user with a separate key, never a copy of the private key.
- Create the user with
adduser, then place their public key in/, owned by that user.home/ <user>/ .ssh/ authorized_keys - Add them to the
sudogroup only if they need root. - To revoke access later, delete their line or their account; nobody else is affected.
One line per key in authorized_keys is the whole format, and a # comment line above each key helps track whose it is. The full first-hour checklist is in how to secure a new dedicated server.
What happens to the key during a reinstall?
The reinstall form has a New SSH public key field; left empty, the key given at the order is kept. A reinstall erases both drives, so authorized_keys entries added by hand disappear with everything else. Only the key from the form is set up on the fresh system.
That makes a reinstall the recovery path for a lost private key: request it with a new public key, and root logs in with the new one. Reboots and reinstalls are both requested from the dashboard, as explained on reboot and reinstall. According to CryptoDedicated's survey of 30 October 2026, 13 of 34 dedicated-server sellers required no identity document; at CryptoDedicated the SSH key is the only credential a buyer ever hands over.
Frequently asked questions
Why does the checkout reject my key?
The field expects a single line with an ssh-ed25519, ssh-rsa or ecdsa-sha2 prefix. A pasted private key, a PuTTY .ppk file or a line broken in two is refused.
Can I add several keys at checkout?
The field takes one key. Add the others to authorized_keys after the first login, one line each.
I use PuTTY: how do I get an OpenSSH public key?
Open the key in PuTTYgen and copy the box labelled Public key for pasting into OpenSSH authorized_keys file. That single line is what the checkout expects.
Can support recover a lost private key?
No. Only the public half is stored. Request a reinstall with a new key, or log in with another key that is still on the machine.
Verdict
- Generate an Ed25519 key with a passphrase and paste it at checkout: password login is then off from the first boot.
- Pick the temporary root password route only when no key is at hand, and replace it within minutes of delivery.
- One person, one key, one line: revoking access is then a single deletion.
Sources (4)
- ssh-keygen(1) — OpenSSH manual pages (read 2026-11-30)
- ssh-copy-id(1) — OpenSSH manual pages (read 2026-11-30)
- sshd(8), AUTHORIZED_KEYS FILE FORMAT — OpenSSH manual pages (read 2026-11-30)
- OpenSSH key management for Windows — Microsoft Learn (read 2026-11-30)
A server that boots with your key
Ryzen 5600, 6 cores / 12 threads, 32 GB DDR4: paste the key at checkout, $83.69 per 30 days.
- Sold by CryptoDedicated LLC, New Mexico, USA
- Machine ready within 1 hour of confirmation
- No KYC, no email required
- Downtime credited back to the balance
Read next
- SSH key or root passwordCryptoDedicated checkout: a pasted SSH key keeps password login off; an empty field brings a temporary root password, shown beside the IP. Run passwd.
- Secure a new serverSecure a new dedicated server in 7 steps: updates, a sudo user, key-only SSH, auto patches, fail2ban, a port audit. Machines from $83.69.
- Reboot and reinstallReboot or reinstall a CryptoDedicated server from its page; a technician carries it out. A reinstall wipes both drives, with 6 systems to choose.
- What is a dedicated serverA dedicated server is one physical machine rented whole: every core, all RAM and both drives for one customer. From $83.69 per 30 days.