How to connect to your server with SSH

Estimated reading time: 1 min

Introduction

All our Linux servers are provided with the SSH server enabled to allow remote connection to the server for administrative tasks. SSH stands for Secure Shell and is the standard tool for accessing remote Linux servers.

Prerequisites

In order to log in with SSH you need the following information:

  • Server IP address
  • Username: almost always root when the server is freshly installed, unless you have setup another account
  • Password: randomly assigned by our systems or specified by yourself

Those details can be found on the Services page in our Control Panel. Click on the service you wish to see the details for.

SSH client

Several different SSH client software exists to connect with SSH. We recommend PuTTY for Windows users while macOS and Linux users can use OpenSSH which is installed by default on most systems.

Login with PuTTY (Windows)

Download and run Putty. On the configuration screen fill in the IP address of your server in the field named "Host Name (or IP address)" and click on "Open".

Putty Configuration
Putty Configuration

If this is the first time connecting with the server you will be presented with a security alert. Click on "Yes" to accept the key.

PuTTy security Alert
PuTTy security Alert

On the next screen you need to fill in your username (1), hit "Enter", fill in your password (2) and hit "Enter" again. It's default behaviour that your password isn't shown, don't worry.

PuTTy Command windows
PuTTy Command windows

Afterwards you will be presented with a prompt (3). You can type in any command which needs to be executed on the server at this prompt.

Login with OpenSSH (macOS and Linux)

The OpenSSH software comes with server and client software. We will be using the OpenSSH client software which is ssh, which is a command-line tool. So start a Terminal and type:
ssh root@x.x.x.x
Replace x.x.x.x with the IP address of your server.

If this is the first time connecting to this server you will be presented with a security alert:
The authenticity of host 'x.x.x.x (x.x.x.x)' can't be established.
RSA key fingerprint is SHA256:wwqtLW0csor4rv9jyhWqhS/BQiBRLtebL2mdECzggGg.
Are you sure you want to continue connecting (yes/no)?

Enter "yes" and you will be asked for your password. Type your password and hit "Enter" and you will be prompted with a command prompt. You can type in any command which needs to be executed on the server at this prompt.

Was this article helpful?
Dislike 0
Views: 330

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *