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.
- Go to VK Cloud personal account.
- Click on the user's name in the header of the page.
- Select Key pairs from the drop-down list.
- Click on the name of the desired key pair. Information about it will be displayed.
-
Go to VK Cloud personal account.
-
Click on the user's name in the header of the page.
-
Select Key pairs from the drop-down list.
-
Click the Create key button.
-
Enter the name of the key and click Create key.
The private key will be downloaded to the local device.
-
Go to VK Cloud personal account.
-
Click on the user's name in the header of the page.
-
Select Key pairs from the drop-down list.
-
Click the Import key button.
-
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.
-
Click the Import key button.
To restore access to a Linux virtual machine via SSH using a key pair, use the instructions from the article VM management.
This is a group operation: if necessary, you can delete several key pairs at once by selecting them using the checkboxes.
- Go to VK Cloud personal account.
- Click on the user's name in the header of the page.
- Select Key pairs from the drop-down list.
- Click on the icon
in the line with the object being deleted.
- Confirm the deletion.