nordelo
Menu

Guides

How to connect to your VPS with SSH

Log in to your Linux VPS from Mac, Windows or Linux with SSH. Step by step, with the common errors and how to fix them.

SSH is the usual way to run a Linux server. You type commands on your own computer and they run on the server. There is nothing to install, because SSH is built into macOS, Windows 10 and 11, and Linux.

What you need

Mac and Linux

  1. Open Terminal. On a Mac, press Cmd+Space, type Terminal and press Enter.
  2. Type the command below with your own IP address:
ssh root@203.0.113.10
  1. The first time, SSH asks whether you trust the server. Type yes and press Enter.
  2. Paste the password and press Enter. Nothing shows while you type, and that is on purpose.

When you see a line ending in root@…:~# you are logged in. Type exit to log out.

Windows

Open PowerShell or Terminal from the Start menu and type the same command as above. Right-click pastes in PowerShell. If you would rather have a window with saved servers, PuTTY works too.

If it does not work

ssh-keygen -R 203.0.113.10

Next step

A password is enough to get started, but an SSH key is safer and easier. Secure your new Linux VPS shows how to switch.

See the VPS sizes