Guides - Manage SSH Keys

Cloud Manager is a user and mobile-friendly interface to deploy and manage virtual machines, configure networking, control user accounts, and access and configure the full range of Linode services.

Create a Linode account to try this guide with a $ credit.
This credit will be applied to any valid services used during your first  days.

When creating a Compute Instance, you have the opportunity to select one or more SSH keys, which are added to the root user account of the new instance. This allows you to login over SSH using your associated private key instead of the root password.

These SSH keys are stored within your Linode account and can be easily accessed from the Cloud Manager. This guide walks you through how to view, add, and remove your account’s SSH keys. For instructions on selecting an SSH key when deploying a Compute Instance see Creating a Compute Instance > Create a Password and Add SSH Keys.

View SSH Keys

  1. Log in to the Cloud Manager.

  2. Click on your username on the top right and select SSH Keys in the dropdown menu that appears:

  3. This opens the SSH Keys tab within the My Profile section. If you have uploaded any public keys, they are displayed on this page, as shown below.

Add a Public Key

Follow the instructions below to add your public key to your Linode account. This does not configure the SSH Key onto existing Compute Instances, but instead allows you to select the key when deploying new instances.

  1. Access the SSH Keys page in the Cloud Manager. See View SSH Keys above.

  2. Click the Add an SSH Key button.

  3. Within the Add an SSH Key panel that appears, enter a descriptive label for your key and paste your public key into the SSH Pulic Key field. To find and copy your public key on your local machine, use one of the following methods:

    • Windows 11 (or 10), MacOS, Linux: If you created your key pair using most command-line tools, your public key is likely stored in a .ssh directory within your home folder and is likely called id_rsa.pub. You can view your public key by opening PowerShell (Windows) or the terminal (macOS and Linux) and running the following command:

      cat ~/.ssh/id_rsa.pub
      
    • Windows (through PuTTY): When using PuTTY to generate your key pair, the public key is stored as a .ppk file. Open this file using PuTTY to view your public key.

    If you haven’t yet generated a key pair to use with SSH, follow the instructions within the Creating an SSH Key Pair and Configuring Public Key Authentication on a Server guide.

  4. Click the Add Key button to save your key. You should now see that public key on the SSH Keys page.

Remove a Public Key

If you no longer wish to deploy new Compute Instances with a certain SSH key, you can remove it from the Cloud Manager. When doing so, the SSH key is not removed from any existing Compute Instances that may have used it.

  1. Access the SSH Keys page in the Cloud Manager. See View SSH Keys above.

  2. Within the list that appears, locate the public key you wish to remove. Then, click the corresponding Delete link.

  3. To confirm removal, click the Delete button within the confirmation dialog that appears.

This page was originally published on


Your Feedback Is Important

Let us know if this guide was helpful to you.