SSH Keys

This document describes our acceptable use policy for managing SSH Keys.

What is an ssh key?

A key is a set of security credentials that you use to prove your identity when connecting to an instance. Before launching an instance, you must specify a key.Credentials allow you to run a secure shell (SSH) session in your compute instance.

  • You can choose an existing key or upload a new one.

  • Depending on how you manage your security, you can specify the same key for all your instances, or you can specify different keys per instance.

  • To connect to an instance using SSH, follow Connect to Instance.

View my account keys

  1. Sign into the console.

  2. Next, click on the left side menu Compute keys icon in the sidebar menu (shown below).

Note

Your keys will be shown. If your account does not have a key, a button will appear to help you upload a new key.

Generate an SSH Key

Launch a Terminal on your system to generate an SSH Key. For MacOS* systems, follow the Linux OS instructions.

Click the tab for your operating system (OS).

  1. Launch a Terminal on your local system.

  2. To generate an SSH key, copy and paste the following to your Terminal.

    ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa
    
  3. If you’re prompted to overwrite, select No.

  4. Click the copy icon. Then paste this command in your Terminal to show the generated SSH key.

    cat ~/.ssh/id_rsa.pub
    
  5. Continue below.

Upload an SSH Key

  1. In the Intel® Tiber™ AI Cloud, click on Compute > Keys.

  2. In the Keys tab, click Upload.

  3. Enter a name for your key in Key name.

  4. Paste the contents of your SSH key in Key contents.

  5. Select Upload.

  6. Verify that your SSH key appears in the table.

Delete an SSH Key

  1. Go to the Keys tab.

  2. Locate your key in the table.

  3. Click Delete next to your key name.

  4. Click Delete to confirm deletion.

Note

You cannot delete a key that is currently being used in an instance. Close the instance first. Then delete the SSH key.

Update an SSH Key

To update an SSH key while the instance is running, follow these steps.

  1. Click Compute > Instances.

  2. In the console, click in the Instances.

  3. For your desired instance, find the Actions column and click Edit.

  4. From Public keys shown, select the key that you wish to update.

  5. Save changes.

    Note

    Next, a dialog appears showing the instructions on how to complete configuration.

  6. Follow the onscreen instructions to update your SSH key.