Skip to content
hostup.se

Add SSH keys to your account and your VPS

Checked against the client area 29 October 2026

With an SSH key you log in to your Linux server without a password. You save the public key to your account once. Then you add it to the servers that should have it. A key that is only saved to your account gives no access to any server.

Open SSH keys in the client area

If the key should go on several servers, an AI app is faster:

If you don’t have a key yet, click How to generate an SSH key at the bottom of the SSH Keys page. It shows how to create one.

  1. Go to SSH Keys and click Add SSH Key. On a phone, it is the round plus button at the bottom right.

    The SSH Keys page with SSH Keys in the menu and the Add SSH Key button framed
  2. Enter a name under Key Name, for example the name of your computer.

  3. Paste the public key under Public Key. It is the content of the file ending in .pub. Include the whole line, from the type (for example ssh-ed25519) to the comment at the end, if there is one. Never paste the private key.

  4. Click Add SSH Key at the bottom of the dialog.

    The Add SSH Key dialog with the Key Name and Public Key fields and the Add SSH Key button framed

The key must be a public key in OpenSSH format of the type ssh-ed25519, ssh-rsa (at least 1024 bits) or ecdsa. Hardware keys (sk-ssh-ed25519 and sk-ecdsa) work too. DSA keys (ssh-dss) are not accepted. If the key is cut off, of another type or a private key, the text under the field says what is wrong. The same key can only be saved once on the account.

Open your servers in the client area

  1. Open the server and go to the Settings tab.

    The server’s page with the Settings tab framed
  2. Scroll down to Login & Access. Click Manage SSH Access in the SSH Keys box.

    The Login & Access box with its heading and the Manage SSH Access button framed
  3. Current server access lists the keys that give access to the server right now.

  4. Under Add a saved key, tick the key you want to add. It lists the saved keys that are not on the server yet.

  5. Click Save access changes.

    The Manage SSH Access dialog with the key anna-laptop on the server, the saved key anna-desktop ticked and the Save access changes button framed

The key is added straight away and the server does not restart. The dialog closes once the change is made and checked on the server.

If the server is stopped, the dialog says so. Tick the key and click Start server and add selected keys. The server starts and the key is added once it is running. Keys already on the server are not removed.

From a server:

Open your servers in the client area

  1. Open Manage SSH Access as above.
  2. Click Remove next to the key. If you change your mind, click Keep.
  3. Click Save access changes.

If you remove every key, you first have to tick the box that confirms it. SSH key login then stops working. Make sure you can log in with a password or in the console before you save.

From your account: click the three-dot menu (Actions) on the key’s row and choose Delete key. On a phone, tap the bin icon. Confirm with Delete Key. The key is only removed from your account. It stays on the servers it is already on. If it should no longer give access, remove it from each server with the steps above.

  • To rename a saved key, click the three-dot menu (Actions) on the key’s row on the SSH Keys page and choose Rename. On a phone, tap the pencil. Enter the new name and click Save. Only the name changes. The key gives the same access as before. The new name also shows in Manage SSH Access on the server.
  • You can also choose keys when you order a new VPS. When you reinstall a server, you choose whether the keys stay. See Reinstall your VPS with a new operating system.
  • You can also open Manage SSH Access from the Overview tab. Click the pencil on the SSH keys row in the Quick Connect box.
  • The client area reads and changes the keys through the guest agent inside the server (QEMU Guest Agent). If it doesn’t answer, you see Current SSH access is unavailable. The keys can’t be changed from here then.
  • SSH keys only apply to Linux. A Windows server has no Manage SSH Access.