Skip to main content

Connect to a VDS server

You can connect to a VDS server:

Viewing connection settings

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

  • public IP address — from the top menu, click ProductsVDS servers → server row; ;
  • username (login) and password — from the top menu, click ProductsVDS servers → server page → tab ConsoleLogin and Password fields.

If you have forgotten your server password, you can reset it. To do this, rebuild the server.

Connecting via SSH

The SSH protocol is used to connect to VDS servers running Linux.

You can use an SSH key pair to connect to a server. We recommend using SSH keys instead of a username and password—you can only connect using keys 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: add an SSH key when creating a VDS 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 ProductsVDS servers → server page → tab Console → field Login;
    • <ip_address> — public IP address of the server. You can view it in the control panel: from the top menu, click ProductsVDS servers → server page.
  4. Enter the password. If the password is lost, you can generate a new one in the control panel: from the top menu, click ProductsVDS servers → server page → Console tab → in the Password field, click Generate new.

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

Fixing an error during reconnection

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

  1. Open the CLI on your local computer.

  2. To fix the error:

    • delete 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>

    Specify <ip_address> — the public IP address of the server. You can view it in the control panel: from the top menu, click ProductsVDS servers → server page.

Connecting via RDP

The RDP protocol is used for connecting to VDS servers running Windows.

  1. Open the Start menu → Remote Desktop Connection.

  2. In the Computer field, enter the public IP address of the server. You can copy it in the control panel: from the top menu, click ProductsVDS servers → in the server row, click next to the IP address.

  3. Click Connect.

  4. Enter the username. You can copy it in the control panel: from the top menu, click ProductsVDS servers → server page → Console tab → in the Login field, click .

  5. Enter the password you saved when creating the server. If you have lost your password, you can generate a new one in the control panel: from the top menu, click ProductsVDS servers → server page → Console tab → in the Password field, click Generate new.

  6. Click OK.

Connect via the console in the control panel

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

The console is a browser-based VNC client. We recommend using it only in cases where it is impossible to connect to the server via SSH or RDP. You cannot copy text from the console, but you can paste text using the Ctrl+V.

  1. In the control panel, from the top menu, click Products and select VDS servers.

  2. Open the server page → Console.

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

  4. Enter the password. If you have lost your password, you can generate a new one in the control panel: from the top menu, click ProductsVDS servers → server page → Console tab → in the Password field, click Generate new.