Guide to login to Linux VPS with SSH protocol

To be able to log into the server and proceed to install the necessary applications, you must access the server via SSH protocol.

What is SSH?

SSH (short for Secure Socket Shell) is a network protocol used to log into a remote computer. For example, if you have a computer at home with Linux installed with SSH, you can log in to that computer remotely to manage data. The data that you send or receive via SSH protocol will be encrypted to make information more secure.

SSH in Linux server

When you buy a Linux VPS or a physical server with Linux, you will have login information via SSH protocol including:

  • Server IP
  • Login username, mostly root
  • User’s password, if your username is root then this is called root password.
  • Communication port: 22, default SSH uses port 22.

With that information, you should be able to login to your Linux server.

How to login to a Linux server via SSH

Sign in from Windows

If you are running Windows on your computer and want to log into your Linux server via SSH, you will need a software to do this. The most popular software is PuTTY , you just need to download and run it to log into the server as shown below.

The red circled line is that you will enter the server's IP address, the default port is 22, you will only fix it if you know that your server uses a different network port.

The red circled line is that you will enter the server’s IP address, the default port is 22, you will only fix it if you know that your server uses a different network port.

Login from Linux / macOS

If you use Linux or macOS, a terminal tool is available that can run Unix commands. At the Terminal, use the following command to log in:

[wps_clipboard]ssh root@123.45.67.8[/wps_clipboard]

Where, root is the username on the server and 123.45.67.8 is the server’s IP address. In case you use a network port other than port 22, you will need to declare the port number with parameters -p, for example:

[wps_clipboard]ssh root@123.45.67.8 -p 2222[/wps_clipboard]

Good luck.

Related Articles

Post a comment

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