Connect to a VDS server
You can connect to a VDS server:
- via SSH protocol — for servers with the Linux operating system;
- RDP protocol — for servers with the Windows operating system; ;
- via the console in the control panel — for servers with any operating system.
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 Products → VDS servers → server row; ;
- username (login) and password — from the top menu, click Products → VDS servers → server page → tab Console → 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.
Public SSH keys can be stored in the control panel; to do this, add public SSH keys to your user profile.
From Linux/macOS
From Windows
-
Optional: add an SSH key when creating a VDS server.
-
Open the CLI.
-
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 Products → VDS 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 Products → VDS servers → server page.
-
Enter the password. If the password is lost, you can generate a new one in the control panel: from 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 the first time you authorize on the server. If you reconnect, the REMOTE HOST IDENTIFICATION HAS CHANGED. error may appear.
-
Open the CLI on your local computer.
-
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 Products → VDS servers → server page. -
Connecting via RDP
The RDP protocol is used for connecting to VDS servers running Windows.
From Linux
From macOS
From Windows
-
Open the Start menu → Remote Desktop Connection.
-
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 Products → VDS servers → in the server row, click next to the IP address.
-
Click Connect.
-
Enter the username. You can copy it in the control panel: from the top menu, click Products → VDS servers → server page → Console tab → in the Login field, click .
-
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 Products → VDS servers → server page → Console tab → in the Password field, click Generate new.
-
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.
-
In the control panel, from the top menu, click Products and select VDS servers.
-
Open the server page → Console.
-
Enter the username (login). You can view it in the Login field above the console.
-
Enter the password. If you have lost your password, you can generate a new one in the control panel: from the top menu, click Products → VDS servers → server page → Console tab → in the Password field, click Generate new.