How to connect to a Virtual Machine with Linux?
Connecting from Windows
Using the SSH client PuTTY
For cloud images, standard usernames such as ubuntu, debian, fedora, opensuse, or cloud-user are typically used.
- Download the private key file from the Key Pairs section. The file has the format keyname-username.pem.ppk.
- Configure a session in PuTTY.
- Host Name — enter the IP address of the Virtual Machine.
- In the Connection > SSH > Auth section, specify the downloaded .ppk key file.
Using the built-in SSH client
The SSH client is installed by default on Windows Server 2019, Windows 10 version 1809, and later builds.
- Download the private key file from the Key Pairs section. The file has the format keyname-username.pem.
- To connect, use the following command in Command Prompt or PowerShell:
ssh -i keyname-username.pem username@ip_host
For example: ssh -i C:\Users\YourUserName\keyname-username.pem ubuntu@194.135.112.207.
Connecting from macOS
- Download the private key file from the Key Pairs section. The file has the format
keyname-username.pem.
- Open the Terminal application.
- Change the file permissions using the command:
chmod 600 /full/path/to/file/keyname-username.pem
- Connect via SSH using the command:
ssh -i /full/path/to/file/keyname-username.pem -p 22 username@111.11.111.111 Where:
- username — the distribution name, for example, ubuntu;
- 111.11.111.111 — the IP address of the Virtual Machine.
Connecting from Linux
For cloud images, standard usernames such as ubuntu, debian, fedora, opensuse, or cloud-user are typically used.
- Download the private key file from the Key Pairs section. The file has the format keyname-username.pem.
- Before connecting, set the correct file permissions by running:
chmod 600 keyname-username.pem
This ensures the private key file is readable and writable only by its owner.
Use the following command in the terminal to connect: ssh -i /path/to/key/file username@ip_host
Updated Date 11.12.2025