Start a conversation

Connecting to a virtual machine via SSH

The SSH protocol is commonly used to connect to a remote machine. If you are running Linux / MacOS, then the SSH client is already installed by default.

To connect, you need to start the terminal and enter the following command:

ssh root@ -p 22


  • root — your login;
  • — virtual machine IP;
  • «-p 22» — SSH port.

If you are using Windows, you'll need a third-party application — for example, PuTTY. After installing the program, you will need to enter the IP and SSH port. The username is not needed, it can be entered later, during a connection:

After starting the connection, the interface on any operating system will look the same — you will be working in the terminal. The first thing you will need to do is enter the root password. You set this password when created the virtual machine. Then you will be connected and will be ready to manage your virtual machine:

Choose files or drag and drop files
Was this article helpful?
  1. Eldar Polishchuk

  2. Posted
  3. Updated