DISCLAIMER!
This guide is provided AS-IS, in the spirit of sharing knowledge!
This gives notice to the following:
DedicatedMC is not responsible nor gives support for the content explained and covered in this guide.
Should you proceed, do so at your own risk.

This guide will explain how to connect to your VPS/dedicated server via SSH (Secure Shell) with PuTTY, Termius and MobaXterm. SSH is a protocol that allows you to run terminal commands without being physically connected to the server.


Pre-requisites

In order to follow this guide you will need:

A VPS or dedicated server with SSH support. Most hosts will provide this by default. If you are unsure, contact your host.

An SSH client. I recommend Termius or MobaXterm. PuTTY is also popular but is quite outdated at this point.

A note of your machines IP address.


Connecting to SSH with Termius


Download and install Termius from their website - https://termius.com/

Launch the Termius application and click on ‘Hosts’ and ‘New Host’.

Set ‘Label’ to anything you want, preferably something you will find easy to identify. Then set ‘Address’ to the IP address of your machine.

Scroll down to ‘SSH/Mosh’ and ensure that `SSH` is toggled on. Then type in the user you want to use (eg. root) and the password for that account. Everything else can be left at default unless you have a reason to change it.

Press ‘Save’. You will then be returned to the main Termius screen. You should now see your host that you just created.

Double click on the host you want to connect to. When you connect for the first time, you will see a warning like this:

Just press ‘Add and Continue’.

Thats it! If everything went well, you should show see something like this (varies depending on your Linux distribution):

To disconnect from SSH, just type `exit` in the terminal.


Connecting to SSH with MobaXterm


Download and install MobaXterm from their website - https://mobaxterm.mobatek.net/download.html

Launch the MobaXterm application and click on ‘Session’ in the top left corner of the application.

Click on ‘SSH’ and type your machines IP address in the ‘Remote Host’ box. You can also tick the ‘Specify Username’ box to choose a username to use by default.

Press ‘Ok’ and you will be automatically connected to the server. When prompted, enter your password and choose if you want to save the password so you do not have to enter it each time you login.

Thats it! If everything went well, you should show see something like this (varies depending on your Linux distribution):

To disconnect from SSH, just type `exit` in the terminal.


Connecting to SSH with PuTTY


Download and install PuTTY from their website - https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Launch the PuTTY application and type your machines IP address under ‘Host Name (or IP address)’, name the session under ‘Saved Sessions’ and hit ‘Save’ and click on ‘Open’.

The first time you connect, you will get an error like this. Just hit ‘Yes’.

When prompted, type in your username and password.

Thats it! If everything went well, you should show see something like this (varies depending on your Linux distribution):

To disconnect from SSH, just type `exit` in the terminal.

Congratulations! You’ve just connected to your VPS/dedicated server via SSH!