Skip to main content
Connect to a cloud server

Connect to a cloud server

You can connect to the cloud server:

To be able to connect to a cloud server via SSH or RDP, it must have access to the Internet:

View parameters for connection

You can view the settings for connecting to the cloud server in the control panel:

  • public IP address — in the top menu, click Products and select Cloud Servers → Server page → Ports tab → in the port card, click next to the public IP address;
  • user name (login) and password — in the top menu, click Products and select Cloud Servers → Server page → Console tab → Login and Password fields .

If you forget your server password, you can reset and recover it.

Connect via SSH

The SSH protocol is used to connect to Linux cloud servers.

You can use a pair of SSH keys to connect to the server. We recommend using SSH keys instead of login and password — you can connect using keys only from the computer where the private key is stored.

Public SSH keys can be stored in the control panel, to do this add public SSH keys to your user profile.

  1. Optional: create an SSH key pair and place a public SSH key when creating a cloud server or on an existing server.

  2. Open the CLI.

  3. Connect to the server:

    ssh <username>@<ip_address>

    Specify:

    • <username> — username (login). You can view it in control panel: in the top menu, click Products and select Cloud Servers → Server page → tab Console → field Login;
    • <ip_address> — public IP address of the server. You can view it in control panel: in the top menu, click Products and select Cloud Servers → server page → tab Ports → in the port card, click next to the public IP address.
  4. Enter the password. You can view it in the control panel: from the top menu, click Products and select Cloud Servers → Server page → Console tab → Password field .

    If you are using an SSH key pair, you do not need to enter a password.

Error when reconnecting

If you use SSH keys to connect, the SSH key is saved to the ~/.ssh/known_hosts file the first time you authorize the server. When you reconnect, the error REMOTE HOST IDENTIFICATION HAS CHANGED may appear.

To correct a mistake:

  • delete the host information by IP address:

    ssh-keygen -f "/home/root/.ssh/known_hosts" -R "<ip_address>"
  • or connect to the server using the command:

    ssh -o UserKnownHostsFile=/dev/null root@<ip_address>

Connect via RDP

The RDP protocol is used to connect to Windows cloud servers.

  1. Open the Start menu → Remote Desktop Connection.

  2. In the Computer field, enter the public IP address of the server. You can view it in the Control Panel: in the top menu, click Products and select Cloud Servers → Server page → Ports tab → in the port card, click next to the public IP address.

  3. Click Connect.

  4. Enter the user name. You can view it in the control panel: in the top menu, click Products and select Cloud Servers → Server page → Console tab → Login field.

  5. Enter the password. You can view it in the control panel: from the top menu, click Products and select Cloud Servers → Server page → Console tab → Password field .

  6. Press OK.

Connect via the console in the control panel

You can connect via the console in the control panel to a cloud server with any operating system.

The console is a browser-based VNC client, we recommend using it only in cases when it is impossible to connect to the server via SSH or RDP. Copying text from the console is not available, you can paste text using Ctrl+V.

  1. In the dashboard, on the top menu, click Products and select Cloud Servers.

  2. Open the server page → Console tab.

  3. In the line with the server, click .

  4. Enter the user name (login). You can look in the Login field.

  5. Enter a password. You can look in the Password field.