Skip to content

Knowledge Base

Managing SSH keys on your VPS

SSH keys let you sign in without a password and are much harder to guess.


Create a key

On your own computer run ssh-keygen -t ed25519. It creates a private key (keep it secret) and a public key ending in .pub.

Add it

  1. Open your VPS in the Client Area and go to the SSH keys tab.
  2. Add your public key (the contents of the .pub file).
  3. Connect with ssh -i path/to/private_key [email protected].

Remove one

Delete it from the same tab, and from ~/.ssh/authorized_keys on the server.

Optional: turn off password logins

Once keys work, set PasswordAuthentication no in /etc/ssh/sshd_config and restart SSH. Test in a second window first, so you do not lock yourself out.

Please rate this article to help us improve our Knowledge Base.

0 0