Skip to main content

Connect to a VDS server

You can connect to a VDS server:

Viewing connection settings

You can view connection parameters for the VDS server in the control panel:

  • public IP address — in the top menu, click Products → VDS servers → server row;
  • username (login) and password — in the top menu, click Products → VDS servers → server page → Console tab → Login 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.

You can store public SSH keys in the control panel. To do this, add public SSH keys to the 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 find it in the control panel: in the top menu, click Products → VDS servers → server page → Console tab → Login field;
    • <ip_address> — server public IP address. You can view it in the control panel: in the top menu, click Products → VDS servers → server page.
  4. Enter the password. If the password is lost, you can generate a new password in the control panel: in the top menu, click Products → VDS 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 during the first login to the server. Upon subsequent connections, 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> — server public IP address. You can view it in the control panel: in the top menu, click Products → VDS 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 server public IP address. You can copy it in the control panel: in the top menu, click Products → VDS 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: in the top menu, click Products → VDS servers → server page → Console tab → in the Login field, click .

  5. Enter the password that you saved when creating the server. If the password is lost, you can generate a new password in the control panel: in the top menu, click Products → VDS 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 when it is not possible to connect to the server via SSH or RDP. Copying text from the console is not supported; you can paste text using the Ctrl+V shortcut.

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

  2. Go to the server page → Console tab.

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

  4. Enter the password. If the password is lost, you can generate a new password in the control panel: in the top menu, click Products → VDS servers → server page → Console tab → in the Password field, click Generate new.