Back to Knowledge Base
Knowledge Base Networking SSH keys and secure access

SSH keys and secure access

Networking 28/11/2026
An SSH key is safer than a password and avoids typing it on every login.

1. Generate a key pair on your own computer with `ssh-keygen`.
2. Copy the public key, never the private one, into `~/.ssh/authorized_keys` on the server.
3. Connect with `ssh -i /path/to/key root@YOUR_SERVER_IP` and confirm it works.
4. Once key access works, disable password login in the SSH server configuration.

Keep the private key protected. If you lose it, use the browser console on the service page to restore access.
Was this article helpful?