The advent calendar is open

A door every day, a raffle every week

New

EmeraldHost 2.0 is here: the new panel!

Learn more
Guides
AMD EPYC VPSDashboardAdd SSH Keys

How to Add SSH Keys for Your Root Servers

Store SSH keys in your account, share them with your team and add them automatically when you order a root server

4 min read

With an SSH key you log in to your Linux root server without a password. An SSH key consists of two parts: the private key, which stays on your computer, and the public key, which you store on the server. Under SSH keys in your account you save public keys once and select them whenever you order a root server.

Create a key pair

If you do not have a key pair yet, create one on your computer, e.g. in PowerShell on Windows or in the terminal on Linux and macOS:

ssh-keygen -t ed25519

The public key is then stored in the file id_ed25519.pub in the .ssh folder of your user directory. Learn more in Secure SSH access.

Add an SSH key

  1. Open the page
    Open Account from your user menu in the navigation bar. In the sidebar under Resources, click SSH keys.

  2. Open the dialog
    Click Add key. The Add SSH key dialog opens.

    "SSH keys" page with one stored key "Laptop" and the "Add key" button highlighted

  3. Paste the public key
    Copy the complete contents of your .pub file into the Public key field. It consists of a single line, e.g. ssh-ed25519 AAAA... your-comment.

  4. Give it a name
    Enter a name in the Name field that helps you recognize the key, e.g. the name of your laptop. The field is optional. If you leave it empty, the comment at the end of the key is used.

  5. Choose the visibility
    Under Visibility, choose between Personal (only you see the key) and Team (see below).

  6. Apply automatically
    Enable Apply automatically if the key should be selected automatically when you order a new root server.

    "Add SSH key" dialog with the pasted public key (1), the name "Office laptop", the "Visibility" choice with "Personal" and "Team" (2) and "Apply automatically" (3)

  7. Save
    Click Add. The key appears in the table with Name, Fingerprint and Algorithm. The fingerprint is a short checksum that identifies the key uniquely.

We notify you by email and in the bell in the dashboard about every key that is added or deleted. That way you notice immediately if someone else adds a key to your account or deletes one from it.

Supported key types

Type Starts with
Ed25519 (recommended) ssh-ed25519
RSA ssh-rsa
ECDSA ecdsa-sha2-
DSA (outdated) ssh-dss

If the message "This is not a valid SSH public key" or "The SSH key contains invalid characters" appears, copy the key again completely and without line breaks.

Share keys with your team

An SSH key always belongs to you personally. With the visibility Team you make it visible to others: it becomes visible to the members of every team in which you are the owner or have the Team SSH Keys permission.

"SSH keys" page with the own key "Laptop" whose "Team" switch is on (1) and the "Team keys" section with the key "Deploy Luca" and its owner luca (2)

  • To share an existing key, switch on the Team toggle in its row. Switching it off makes it personal again.
  • Keys that others share with you appear in the Team keys section with their Owner. You can select them when ordering, but you cannot edit or delete them.
  • Only its owner can edit or delete a key.

How keys reach a server

  1. Select them when ordering
    When you order a root server while signed in, the order form contains the SSH Keys step. There you select up to 20 keys. Your own keys with Apply automatically are already selected. With Create new SSH key you add a new one right there. Learn how ordering works in Order a server.

  2. During setup
    On Linux systems, the selected keys are stored for the user root during setup. You then log in with your private key, see Connect to your Linux server.

  3. During a reinstall
    If you reinstall the server, the keys selected when ordering are stored again. Keys of people who no longer belong to your team are no longer included.

Edit or delete a key

  1. Open the menu
    Click the menu on the right of your key's row.

  2. Edit
    Select Edit to change the Name, the Visibility or Apply automatically in the Edit SSH key dialog. Confirm with Save. You cannot change the key itself. For a different key, delete the old one and add the new one.

  3. Delete
    Select Delete and confirm with Delete in the Delete SSH key dialog. This cannot be undone. The key is also detached from all servers it was assigned to.

Written byEmeraldHost Team
Last updated on Dec 1, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
AMD EPYC VPS

Ready to get started?

Rent your AMD EPYC VPS now

Join our Discord community 1257 members online right now