1. On your computer — make a key (skip it if you have one)
ssh-keygen -t ed25519
Press Enter for the default file. A passphrase is optional but a good idea.
2. Put the public key on the server — macOS / Linux
ssh-copy-id root@YOUR.SERVER.IP
It asks for the server's password once.
2. The same from Windows (PowerShell)
type $env:USERPROFILE\.ssh\id_ed25519.pub | ssh root@YOUR.SERVER.IP "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys"
3. Try it
ssh root@YOUR.SERVER.IP
It must log in without asking for the server's password.
Where a command has YOUR.SERVER.IP, put the address of your server — it is on the server page in the console. Ask Joy Ops AI the same question in the console and it fills your own address in.
Stuck? Ask Joy Ops AI in your console, or open a ticket — a person answers.
Was this article helpful?
Corrections and suggestions go straight to the team that wrote it — suggest an edit or see more in blog.
Corrections and suggestions go straight to the team that wrote it — suggest an edit or see more in blog.