Connecting to your server over SSH
SSH is the usual way to manage a Linux or FreeBSD server: an encrypted connection through which you type commands on the server from your own computer. It runs on port 22, which is open on all VPS servers.
What you need
- The server's IP address: from the activation message or the IP addresses page.
- Username:
root, or the user you created later. - Password: from the activation message, or an SSH key if you've set one up.
In the examples below, replace 203.0.113.10 with your server's address.
Connecting from your computer
Windows 10 and Windows 11 come with a built-in SSH tool.
- Open PowerShell or Terminal from the Start menu.
- Type the following command and press Enter:
- On the first connection, type
yesto accept the server's fingerprint (see the next section). - Type the password and press Enter. The characters don't appear as you type; this is normal.
If you get a message that the ssh command isn't recognized, enable OpenSSH Client from Settings → System → Optional features, or use PuTTY: enter the address in Host Name, leave Port at 22, and click Open.
Once you're signed in, the prompt changes to something like root@server:~#, and every command you type runs on the server. To leave, type exit.
The server fingerprint on first connection
On the first connection, you see a message similar to:
The authenticity of host '203.0.113.10' can't be established.
ED25519 key fingerprint is SHA256:...
Are you sure you want to continue connecting (yes/no/[fingerprint])?This is the server's fingerprint. Type yes, and your computer saves it and checks it on every later connection, so no other server can impersonate yours.
After reinstalling the operating system
Reinstalling the operating system generates a new fingerprint for the server, so your computer refuses to connect with a message beginning WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED. If you're the one who reinstalled, delete the old fingerprint and connect again:
ssh-keygen -R 203.0.113.10Don't ignore it. First check that you're typing the correct address; if you are, contact technical support before entering your password.
Common errors
The password or username is incorrect. Check:
- Uppercase and lowercase letters, and your keyboard language.
- That no extra space is copied along with the password when you paste it.
- That you're still using
rootand haven't disabled its sign-in after securing the server.
If you've forgotten the password, set a new one from Changing the password in VMX Console.
Your computer can't reach the server at all. The usual causes: the server is stopped or suspended, the firewall inside the server is blocking port 22, or networking inside the server is broken. Follow the steps in Server not responding.
Your computer reaches the server, but no SSH service is listening on the port. Open the server's screen from the Web-console and start the service:
systemctl start sshdOn Ubuntu and Debian, it may be called ssh instead of sshd. If you changed the SSH port yourself, add the port to the command: ssh -p 2222 [email protected].
Your computer tries many saved SSH keys before the password, so the server rejects it. Specify the key you need with -i, or ask for the password directly:
ssh -o PubkeyAuthentication=no [email protected]Add these two lines to the ~/.ssh/config file on your computer, so it sends a signal every minute that keeps the connection alive:
Host *
ServerAliveInterval 60Transferring files
File transfer works over SSH itself (SFTP), with the same address, username and password, on port 22:
- With a graphical program: such as FileZilla or WinSCP; choose the SFTP protocol.
- From the command line:
scp file.zip [email protected]:/root/
How is this guide?
First steps after receiving your server
What to do as soon as your VPS becomes active: where to find your sign-in details, and how to connect to it, update it, secure it, and set up its name and backups.
Securing your new server
Basic steps for securing a Linux VPS: a user with sudo privileges, SSH key sign-in, disabling root password sign-in, a ufw or firewalld firewall, and automatic updates.