x
DeluxHost

SSH Keys on Your Account

01

Why store them here

SSH keys saved on your account act as an address book. Instead of pasting a public key every time you build a server, you keep your keys in one place and pick them when they are needed.

02

Adding a key

Add the public key — the contents of a file ending in .pub, one line starting with something like ssh-ed25519 or ssh-rsa.

Never paste a private key anywhere, here or otherwise. If you do not have a key pair yet:

  • `ssh-keygen -t ed25519 -C "you@example.com"`
  • The public key is then in `~/.ssh/id_ed25519.pub`
03

Using them on a server

When you create or reinstall a server, choose which stored keys to install. They are placed in the root user's authorised keys so you can log in immediately, without waiting for a password.

04

Adding or removing later

Changing keys on your account affects servers built afterwards, not ones already running. To change the keys on an existing server, edit ~/.ssh/authorized_keys on the machine itself, or reinstall it with the new selection.

DeluxHost, founded in 2023, offers high-quality hosting solutions for various digital needs. We provide shared hosting, VPS, and dedicated servers with advanced security and global data centers.

© DeluxHost, All rights reserved. | VAT Number : IT17734661006
All Systems Operational