Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server

Guide

How to Generate and Use SSH Keys

SSH keys beat password-only logins. You create a pair on your PC, install the public key on the server, and connect with the private key.

Steps

  1. On your local machine, generate an Ed25519 key pair (recommended):

    ssh-keygen -t ed25519 -C "[email protected]"
  2. Copy the public key to the VPS (replace user and IP):

    ssh-copy-id -i ~/.ssh/id_ed25519.pub user@YOUR_IP
  3. Test passwordless access:

    ssh user@YOUR_IP
  4. Once it works, you can harden sshd (PasswordAuthentication no) carefully so you do not lock yourself out.

Tips

  • Use a passphrase on the private key.
  • Keep an encrypted backup of the key if you disable passwords.

ext step

eed root access and a dedicated IP? Deploy on Xernode.

Related guides