SSH (Secure Shell) gives you encrypted command-line access to your server. This guide walks you through connecting to your VDS from Windows, macOS and Linux.
Before you start
- Server IP address: you will find it in your service activation email or in the service details of your server under Client area > My services. This guide uses
203.0.113.10as an example. - Username and password: on Linux servers this is usually
root. The password is in the same activation email or service details page. - SSH port: 22 by default. If you have changed it yourself, use your custom port.
- An SSH client. Windows 10/11, macOS and Linux all ship with the OpenSSH client built in.
Connecting step by step
- Open a terminal. On Windows, open PowerShell or Terminal from the Start menu. On macOS, go to Applications > Utilities > Terminal. On Linux, use your distribution's terminal app.
- Type the connect command with your username and IP address:
If you use a port other than 22, addssh root@203.0.113.10-p:ssh -p 2222 root@203.0.113.10 - Confirm the host key. The first time you connect, you will see “The authenticity of host ... can't be established” along with a fingerprint. If you are sure this is your server, type
yesand press Enter. The key is saved toknown_hostsand you won't be asked again. - Enter the password. Nothing appears on screen while you type the password. That is normal. Type it and press Enter.
- Check that you are in. The prompt changes to something like
root@hostname:~#. Runhostnamectloruname -ato see details about the server, and typeexitto disconnect.
Using PuTTY on Windows
If you prefer a graphical client to the built-in OpenSSH, you can use PuTTY. Enter the IP address in Host Name and 22 in Port, choose SSH as the connection type and click Open. Then enter the username (root) and the password. You can store the connection under Saved Sessions if you use it often.
Password login works, but SSH keys are safer. Create a key pair on your computer with ssh-keygen -t ed25519 and copy it to the server with ssh-copy-id root@203.0.113.10. Our “Basic Linux Server Security” article covers this in detail.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
Connection timed out | Wrong IP, server is off, or a firewall is blocking the port | Check the IP in your service details. Make sure the server is running and the SSH port is allowed through the firewall. |
Connection refused | The SSH service is not running or is on another port | Try the right port with -p. If the service has stopped, contact us through a support ticket. |
Permission denied | Wrong username or password, or password login is disabled | Retry and watch the letter case. If you disabled password login, connect with your key. |
REMOTE HOST IDENTIFICATION HAS CHANGED | The server was reinstalled and its key changed | If you reinstalled it yourself, remove the old entry with ssh-keygen -R 203.0.113.10. If you didn't, do not connect. Let us know instead. |
Never send your root password by email or chat. If you need to share access details with our support team, turn on Encrypt Message in the ticket form.
Frequently asked questions
I forgot my root password. What now?
Check your service details in the client area first. If you cannot reset it there, go to Support tickets > Open a ticket, select the server and ask for help.
Do I use SSH for Windows servers too?
Windows servers are normally managed with Remote Desktop (RDP). This guide is for Linux servers.
My session drops after a while. Why?
Network devices may close idle connections. Adding ServerAliveInterval 60 to ~/.ssh/config on your computer keeps the session alive.
Can I open several SSH sessions at once?
Yes. Each terminal window can hold its own session.
Still can't connect? Open a ticket from the client area or reach us via our contact page. For servers with full root access, see our VDS servers.