Quick answer
How do you create an SSH key for a VPS?
To create an SSH key for a VPS, run ssh-keygen -t ed25519 on your own computer, add a passphrase, then copy the one line from the .pub file. JadeKVM takes that line in the SSH public key box at checkout. The key pair takes under 1 minute; the private file never leaves your computer.
In brief
- One command:
ssh-keygen -t ed25519works in PowerShell, macOS Terminal and Linux. - Two files: the .pub file is public; the file without .pub is your secret.
- Passphrase: it protects the key if your laptop is stolen; ssh-agent saves retyping it.
- At checkout: JadeKVM accepts lines that start with ssh-ed25519, ssh-rsa or ecdsa-sha2.
How to create an SSH key for a VPS in 5 steps?
Every command runs on your own computer, not on the server.
Open a terminal
Use PowerShell on Windows, Terminal on macOS, or any shell on Linux.
Generate the key pair
Run
ssh-keygen -t ed25519 -C laptop-2026. Press Enter to keep the default file name.Choose a passphrase
Type a phrase you can remember. It encrypts the private key on disk.
Show the public key
Print the .pub file and copy the whole single line, from ssh-ed25519 to the comment.
Paste it at checkout
Put the line in the SSH public key field when you order, or add it to authorized_keys on a running server.
Which key type should you choose?
| Type | Command | Public line starts with | When to use it |
|---|---|---|---|
| Ed25519 | ssh-keygen -t ed25519 | ssh-ed25519 | Default choice in 2026: short and fast |
| RSA 4096 | ssh-keygen -t rsa -b 4096 | ssh-rsa | Old tools that lack Ed25519 |
| ECDSA | ssh-keygen -t ecdsa -b 521 | ecdsa-sha2 | Hardware tokens or policies that ask for it |
Which is the best SSH key type for a VPS in 2026?
Ed25519 is the best default: the key is short, the check is fast and every current OpenSSH supports it. RSA still works, but it needs 3072 or 4096 bits to stay strong, and the line is far longer. ECDSA fits some hardware keys.
The JadeKVM checkout checks the format of what you paste. It accepts one line that starts with ssh-ed25519, ssh-rsa or ecdsa-sha2. A private key or a broken line is refused with a message.
ssh-keygen -t ed25519 -C laptop-2026
# Linux and macOS:
cat ~/.ssh/id_ed25519.pub
# Windows PowerShell:
Get-Content $env:USERPROFILE\.ssh\id_ed25519.pubWhere do you paste the public key?
At checkout, in the SSH public key field, before you pay. Root signs in over SSH. A public key pasted at checkout is installed and password login stays disabled; with no key, the team sets a temporary root password, shown in the dashboard, to replace with passwd on first login. The steps of the order form are in the order guide.
Once the status reads Running, the server page shows the IPv4 and an SSH command. The first SSH login guide covers the connection itself, including what to do without a key.
According to JadeKVM's survey of 2 November 2026, 18 of the 35 hosts surveyed in Hong Kong, Tokyo and Singapore took crypto with no ID at signup. At JadeKVM, the key box and the payment sit on one checkout page, with no sign-up form before it.
How do you add a key to a server that is already running?
Append the public line to ~/.ssh/authorized_keys on the server, with strict file rights. From Linux or macOS, ssh-copy-id does it in one go while password login still works. From Windows, pipe the file over SSH instead.
Test the new key in a second window. Only then turn off password login, as shown in how to secure a Linux VPS.
# Linux or macOS:
ssh-copy-id -i ~/.ssh/id_ed25519.pub [email protected]
# Windows PowerShell:
type $env:USERPROFILE\.ssh\id_ed25519.pub | ssh [email protected] "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"How do you avoid typing the passphrase every time?
Load the key into ssh-agent once per session. On macOS and Linux, run ssh-add ~/.ssh/id_ed25519. On Windows, start the OpenSSH Authentication Agent service, then run ssh-add in PowerShell.
A short block in ~/.ssh/config also saves typing. With it, ssh jade-hk replaces the full command with user and IP.
Host jade-hk
HostName 203.0.113.10
User root
IdentityFile ~/.ssh/id_ed25519What if you lose the private key?
Nobody can rebuild it, so the way back in is a reinstall with a new public key. The JadeKVM reinstall form has a field for a new key, and a person carries out the request. The reinstall wipes the disk.
JadeKVM read its own client area on 16 November 2026: the server page says the team cannot recover a private key and never asks for it. Keep a copy of the private key in a password manager or on an encrypted drive.
Questions about SSH keys for a VPS
Is Ed25519 better than RSA for a VPS?
For a new key, yes. It is shorter, quick to check and supported by Debian 13 and Ubuntu 24.04. Keep RSA 4096 only for old tools.
Can one SSH key open several servers?
Yes. Paste the same public line on each server. Use separate keys per device, so you can revoke a lost laptop alone.
Do I need PuTTY on Windows in 2026?
No. Windows 10 and 11 ship the OpenSSH client, so ssh-keygen and ssh work in PowerShell.
Which file do I paste at checkout?
The one ending in .pub. The other file is private and must never be pasted into a website.
Can I order without an SSH key?
Yes. JadeKVM then sets a temporary root password in the dashboard. Change it with passwd at the first login and add a key.
Verdict
- Run
ssh-keygen -t ed25519with a passphrase, then paste the .pub line at checkout. - JadeKVM installs that key for root and leaves password login off from the first boot.
Sources (4)
- ssh-keygen(1) manual page — OpenBSD / OpenSSH (read 2026-11-16)
- sshd_config(5) manual page — OpenBSD / OpenSSH (read 2026-11-16)
- Key-based authentication in OpenSSH for Windows — Microsoft (read 2026-11-16)
- Security, Ubuntu Server documentation — Canonical (read 2026-11-16)
Paste your key and pick a city
Hong Kong, Tokyo or Singapore at one price. Pendant costs $4.50 a month on 12 months.
- Built by a person, 1 hour at most after confirmation
- Lost days credited back if a server cannot be delivered
- Pay in BTC, XMR, USDT, USDC, ETH, SOL or LTC
- DomaineGoat LLC · Panama