How to Connect to Your Linux Server via SSH

SSH opens the command line of your Linux server on your own computer. This page shows where to find the login details in the Client Area and how to connect from Windows, macOS and Linux. The pictures show a dedicated server; a VPS works the same way.


1. Find Your Login Details

You need the server's IP address, the user name root and the root password. Log in to the Client Area, open My Services and click your server.

Dedicated server

The address is on the Information tab, under Server Details, in the line Server IP (1). The panel shows it with the size of its network, for example 203.0.113.80/26. The address is the part before the slash, and COPY copies only that part.

Server Details in the Client Area: the Server IP line with the COPY button

The password is on the Credentials tab (1). The line OPERATING_SYSTEM shows the user name root (2). Choose SHOW to read the password or COPY to copy it (3).

Credentials tab of a dedicated server: the user root with the SHOW and COPY buttons

A dedicated server also answers under the name in the title of the service, for example ds12345.seedhost.eu. You can use that name instead of the IP address.

VPS

The IP address is on the page of the VPS and in its IP Addresses tab. The root password is in its Credentials tab: see How to Find and Reset the Root Password for a VPS.

ℹ Which password?

The Credentials tab shows the password that was set when the system was installed. If you entered your own password or an SSH key during the installation, or changed the password later with passwd, use yours. The tab does not follow changes made inside the system.


Recommended: Termius on All Your Devices

Termius is an SSH app for Windows, macOS, Linux, iPhone, iPad and Android. It looks the same on every device, remembers your servers, and also copies files over SFTP. Download it from termius.com.

When Termius starts the first time, it asks you to sign in or create an account (1): with Google, with Apple, or with an e-mail address. With an e-mail address, Termius sends an 8-character code to that address: type it in and click Continue. Then Termius asks for an encryption password for your vaults. Keep it safe: Termius cannot recover your saved hosts without it. The next screens can be skipped with Do it later, I work on my own and Import later.

Termius at the first start: Continue with Google, Continue with Apple or with an e-mail address

Add your server: type its IP address from step 1 under Create host (1) and click Continue (2).

Termius: Create host with the IP address of the server

In Host Details, type a name for the server (1), then root and the root password under Credentials (2), and click Connect (3).

Termius Host Details: label, user name root, password and Connect

The first time, Termius shows the key of the server and asks whether to add it to the known hosts. Click Add and continue (1); this is the same as the yes in the terminal below.

Termius: Are you sure you want to connect? with the server key and Add and continue

The command line of your server opens in its own tab (1). Next time, double-click the host in Hosts.

Termius connected to the server: the welcome text and the root prompt

To copy files, open the SFTP tab (1). The left side shows your computer. On the right, click Select host, choose your server (2) and open the folder you want to copy to. Then right-click a file on the left and choose Copy to target directory (3).

Termius SFTP: your computer on the left, the server on the right, Copy to target directory

We tested this with Termius 10.4.1 for Linux and our test server: Termius connected with the root password, and a file copied with Copy to target directory arrived on the server.

ℹ Free or Pro

A new account starts with a 14-day trial of the paid features. After it, the free Starter plan is enough for SSH and SFTP; your hosts are then stored on that one device. Keeping the same hosts on all your devices (sync) is part of the paid Pro plan (November 2026). Without Termius, use the programs below: they are already on your computer or free.


2. Connect From Windows

Windows 10 and 11 include an SSH client. PuTTY is a separate program that remembers your servers. Use the one you prefer.

Terminal or PowerShell

Right-click the Start button and choose Terminal (1). On Windows 10 the entry is called Windows PowerShell.

Right-click menu of the Start button with Terminal

Type this command with your server's address, for example ssh root@203.0.113.80, and press Enter (1):

ssh root@YOUR.SERVER.IP

The first time you connect, SSH shows the fingerprint of the server's key and asks whether to continue. Type yes and press Enter (2).

At password: (3) type the root password, or paste it with Ctrl+V, and press Enter. Nothing appears on the screen while you type or paste. This is normal.

The welcome text of the server and its prompt, here root@ds12345:~# (4), show that you are connected. To disconnect, type exit.

Windows Terminal: the ssh command, the fingerprint question, the password prompt and the prompt of the server

ℹ If Windows does not know the ssh command

An old Windows 10 may answer that ssh is not recognized. Press Windows key + R, type ms-settings:optionalfeatures and press Enter. Choose View features (Add a feature on Windows 10), search for OpenSSH Client and install it. Then open the terminal again.

PuTTY

Download PuTTY from its official page and install it. Start it and fill in the first window:

  • Host Name (or IP address) (1): your server's address. Leave Port at 22 and Connection type at SSH.
  • Saved Sessions (2): a name of your choice, for example My server. Then choose Save (3).
  • Choose Open (4).

PuTTY Configuration with the host name, the session name, Save and Open

The first time you connect, PuTTY shows the fingerprint of the server's key. Choose Accept (1).

PuTTY Security Alert: the host key is not cached, with the Accept button

At login as: type root and press Enter (1). Then type the password, or paste it with a right-click in the window, and press Enter (2). Nothing appears while you type or paste.

PuTTY asks for the user name and the password

The prompt of the server shows that you are connected.

PuTTY connected to the server

Next time, start PuTTY and double-click My server in the list.

💡 Let PuTTY type the user name

Start PuTTY, select My server and choose Load. Open Connection → Data (1) and type root in Auto-login username (2). Go back to Session and choose Save. From now on PuTTY asks only for the password.

PuTTY Configuration, Connection, Data: the Auto-login username field


3. Connect From macOS

Press Command + Space, type Terminal and press Enter. The commands and the answers are the same as on Linux below:

ssh root@YOUR.SERVER.IP

Type yes at the fingerprint question, then the password. Paste with Command + V.


4. Connect From Linux

Open a terminal (on most desktops Ctrl+Alt+T) and type the command with your server's address (1):

ssh root@YOUR.SERVER.IP

The first time, type yes at the fingerprint question (2). At password: (3) type the root password, or paste it with Ctrl+Shift+V, and press Enter. Nothing appears while you type or paste. The prompt of the server (4) shows that you are connected.

Linux terminal: the ssh command, the fingerprint question, the password prompt and the prompt of the server


iPhone, iPad and Android

Install Termius from the App Store or Google Play and add your server as described in Recommended: Termius on All Your Devices above: the same address, the user name root and the password.


After a Reinstall: the Host Key Has Changed

A reinstall gives the server a new key, while your computer still remembers the old one. SSH then refuses to connect and shows this warning (1). It also names the command that removes the old key (2).

SSH warning: remote host identification has changed

Remove the old key with this command (1), with your server's address. Then connect again (2) and answer yes:

ssh-keygen -R YOUR.SERVER.IP

The old key removed with ssh-keygen and a new connection

The command is the same in Windows Terminal, on macOS and on Linux.

PuTTY shows the window PuTTY Security Alert with the heading WARNING - POTENTIAL SECURITY BREACH! After a reinstall this is expected. Choose Accept (1).

PuTTY Security Alert after the host key has changed, with the Accept button

⚠ Only after a reinstall

If this warning appears although you did not reinstall the server, do not continue. Check the address first, and contact support if it is correct.

Before you reinstall, remember that installing or reinstalling from the Client Area erases all data on all disks of the server.


If the Connection Fails

MessageWhat to check
Connection timed outCheck the address. In the Client Area the server must be Running and not in the middle of an installation. A firewall on the server may block port 22: open the console and check it. For a VPS use Console Access, for a dedicated server IPMI or noVNC.
Connection refusedThe server answers, but SSH does not listen on this port. The system may still be starting, or SSH was moved to another port.
Permission denied, please try againThe user name or the password is wrong (PuTTY says Access denied). Copy the password again with COPY. If you installed Fail2ban, several wrong passwords in a row block your address for 10 minutes. If you changed the password and forgot it, see How to Recover the Root Password on Linux (dedicated server) or How to Find and Reset the Root Password for a VPS.
Permission denied (publickey)Password login is switched off on the server. Log in with your SSH key: Log In to Your Linux Server With an SSH Key.

If SSH listens on another port, add it to the command, for example ssh -p 2222 root@YOUR.SERVER.IP. In PuTTY, type it in Port.


Next Steps

View all Linux guides

Was this answer helpful? 326 Users Found This Useful (615 Votes)