Managing SSH keys

Last updated on: October 15, 2026

SSH keys are a generated pair of long and practically impossible-to-break codes that allow automated user authentication. SSH key pairs work in two halves; the public key which acts as a lock, and the private key which can be used to open the lock. The public key can be safely passed to your Cloud Servers while the private key should be kept securely stored on your own computer.

The SSH keys feature at your UpCloud Control Panel provides easy public key management that allows you to quickly apply the authentication method to any new Cloud Server.

SSH keys page in the UpCloud Control Panel with no keys added

Adding keys

To add a new key, go to Account > SSH keys in the UpCloud Control Panel and click Add new. This opens the Add an SSH key dialog. Enter a name for the key and paste your public key, in OpenSSH format, into the Public SSH key field.

Add an SSH key dialog with the Name and Public SSH key fields filled in

Click Save to add the key.

Each key you add appears in the SSH keys list, and you can then add it to Cloud Servers at deployment.

SSH keys list showing the new key and its fingerprint

To rename or change a key, click the delete icon next to it to remove it, then add it again as above.

Choosing a login method

When you deploy a Cloud Server, the Login Method section shows the options for the operating system you selected:

  • Linux: SSH keys, the recommended method. Some older Linux templates also offer a one-time password for the root user, which is generated automatically and sent to you during deployment. Where password login isn't available, the option is grayed out with the message "Password login is not supported in the selected operating system version."
  • Windows: a password for the Administrator user, generated automatically and sent to you during deployment. SSH keys are not supported for Windows.
Login Method section with SSH keys selected and a key ticked

With SSH keys selected, tick the keys you want to use under Select SSH keys for this server.

To add a key without leaving the deploy page, click Add new. This opens the same Add an SSH key dialog.

The SSH keys selected at deployment are added to the default root account and allow you to harden the server security right from the get-go. If you wish to add SSH keys to other user accounts, check out our Initialization script feature to automatically create new usernames, update the system, and perform other setup tasks at the first boot-up.

If you have not generated SSH key pairs before, you can find additional instructions for how to use SSH keys on your Cloud Server about adding SSH keys after deployment.

Contributed by: Janne Ruostemaa

Can't find what you're looking for?

For more help you can contact our awesome 24/7 support team