Skip to main content

Connect to a cloud server

You can connect to a cloud server:

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

View connection settings

The settings for connecting to a cloud server can be viewed in the control panel:

  • public IP address — from the top menu, click ProductsCloud Servers → Server page → Ports tab → in the port card, click next to the public IP address;
  • username (login) and password — from the top menu, click ProductsCloud Servers → Server page → Console tab → Login and Password.

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

Connect via SSH

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

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

You can store public SSH keys in the control panel; to do this, add public SSH keys to your user profile.

  1. Optional: create an SSH key pair and place the 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 the control panel: from the top menu, click ProductsCloud Servers → Server page → Console tab → Login;
    • <ip_address> — public IP address of the server. You can view it in the control panel: from the top menu, click ProductsCloud Servers → Server page → Ports tab → 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 ProductsCloud Servers → Server page → Console tab → Password.

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

Error during reconnection

If you use SSH keys for connection, the SSH key is saved to the ~/.ssh/known_hosts file when you first authorize on the server. When connecting again, the following error may appear: REMOTE HOST IDENTIFICATION HAS CHANGED.

To fix this error:

  • remove the host information for that 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-based cloud servers.

  1. Open the StartRemote Desktop Connection menu.

  2. In the Computer field, enter the public IP address of the server. You can view it in the control panel: from the top menu, click ProductsCloud Servers → Server page → Ports tab → in the port card, click next to the public IP address.

  3. Click Connect.

  4. Enter the username. You can view it in the control panel: from the top menu, click ProductsCloud Servers → Server page → Console tab → Login.

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

  6. Click 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 when it is impossible to connect to the server via SSH or RDP. Copying text from the console is not available, but you can paste text using the Ctrl+V shortcut.

  1. In the control panel, from the top menu, click Products and select Cloud Servers.

  2. In the server row, click .

  3. Enter the username (login). You can view it in the Login field.

  4. Enter the password. You can view it in the Password field.