SSH keys provide secure, passwordless authentication to your Linux VM. You can store multiple keys in your account and manage which ones are used on each server.
Your account has a key storage where you can keep all your SSH keys. These keys are not applied to any server automatically – they are simply saved for future use.
You can add as many keys as you need – for yourself, your colleagues, or your automation tools.
When you create a new VM from your VDC service, you can choose which keys to install on it:
The selected keys will be automatically installed on the VM during creation.
You can add SSH keys to a VM that is already running – directly from the control panel.
How it works: After you submit your selection, the VM is rebooted to apply the new keys. You will see a notification about the reboot in the control panel.
Important – how keys are applied:
How to remove a key from a VM: Connect to the server via SSH and edit the ~/.ssh/authorized_keys file manually, deleting the relevant line:
nano ~/.ssh/authorized_keys
If you prefer to manage keys manually, you can add them directly inside the operating system:
ssh root@your_server_ip
.ssh directory if it doesn’t exist:
mkdir -p ~/.ssh && chmod 700 ~/.ssh
echo "your_public_key_here" >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
Note: Keys added manually inside the OS are not visible in the control panel. They will not be affected when you add keys through the panel.