VK Cloud logo
Updated atDecember 28, 2023   01:27 PM

Managing key pairs

Key pairs are used to connect to a VM via SSH. The key pair consists of public and private keys: the public key is placed on the VM, the private key is stored by the user.

Viewing information about a key pair

  1. Go to VK Cloud personal account.
  2. Click on the user's name in the header of the page.
  3. Select Key pairs from the drop-down list.
  4. Click on the name of the desired key pair. Information about it will be displayed.

Creating a key pair

  1. Go to VK Cloud personal account.

  2. Click on the user's name in the header of the page.

  3. Select Key pairs from the drop-down list.

  4. Click the Create key button.

  5. Enter the name of the key and click Create key.

    The private key will be downloaded to the local device.

Importing an existing key

  1. Go to VK Cloud personal account.

  2. Click on the user's name in the header of the page.

  3. Select Key pairs from the drop-down list.

  4. Click the Import key button.

  5. In the window that opens, fill in the fields:

    • Name of key: specify the name of the created key pair.
    • Public key: insert the contents of the ssh-rsa public key.
  6. Click the Import key button.

Recovery of the key pair

To restore access to a Linux virtual machine via SSH using a key pair, use the instructions from the article VM management.

Deleting a key pair

This is a group operation: if necessary, you can delete several key pairs at once by selecting them using the checkboxes.

  1. Go to VK Cloud personal account.
  2. Click on the user's name in the header of the page.
  3. Select Key pairs from the drop-down list.
  4. Click on the icon Trash in the line with the object being deleted.
  5. Confirm the deletion.