+370 5 205 5502 sales@monovm.com

How to connect to Linux server using SSH protocol in Windows, Linux and Mac


Dec, 18

How to Connect to Linux server

How to connect to Linux Server


Most of the time we don't have access to the physical server and we have to log in remotely to the server. In this tutorial, we'll learn how to login remotely to a Linux Server using Secure Shell (SSH)

SSH is a very powerful tool that allows you to directly access the command line of your Linux VPS. This will allow you to execute Linux commands to control your VPS Server and manipulate files and directories and applications.

By default, SSH runs on port 22 of your VPS. To connect to your VPS using SSH, you will need to use an SSH client.


If you are using Mac or Linux:


Open Terminal

To open Terminal in Mac go to Applications > Utilities, and then open Terminal.

To open a Terminal in Linux use Ctrl+Alt+T or enter Terminal in the Search function

Type “ssh” to determine connection protocol and then press “Space”, input your Username and server address (IP or Domain name) connected by “@” symbol. 

Considering a user ID of “user1” and a URL of server1.com(, the following syntax should be entered to connect to the server:

ssh user1@server1.com OR ssh user1@

Hit “Enter”

You will then be prompted for a password. Enter your password and hit enter.

If you are successful, you should see a command prompt, similar to the following:



If you are using Windows:


Now we'll learn how to login to a Linux Server from a Windows using PuTTY. PuTTY is a free software application for Microsoft Windows operating systems which can be used to make an SSH connection to your server. You can download the application here and install it on your Windows.

PuTTY is an SSH and telnet client, developed originally by Simon Tatham for the Windows platform. PuTTY is open-source software that is available with source code and is developed and supported by a group of volunteers.

Open PuTTY Terminal client, you will see the following window:




Enter your connection settings:

Host Name: enter IP of your server

Port: 22 (leave as default)

Connection Type: SSH (leave as default)


Click "Open" to start the SSH session.

If this is your first time connecting to the server from your computer, you will see the following output. Accept the connection by clicking "Yes".

How to connect to Linux VPS

Once the SSH Connection is open, you should see a terminal prompt asking for your username. Your server's root username is "root".

Next, enter your password. You can find it in Clients Portal. Please note that you will not see your cursor moving, or any characters typed, when typing your password. This is a standard PuTTY security feature. After you typed it in hit “Enter”. 

Congratulations! You are now logged into your server with SSH.


linda Y

My name is Linda, I have Master degree in Information Technology Engineering. I have some experiences in working with Windows and Linux VPS and I have been working for 2 years on Virtualization and Hosting. 

user monovm


2019, Aug, 19

You can certainly see your enthusiasm in the work you write. The arena hopes for more passionate writers like you who are not afraid to say how they believe. Always follow your heart.

user monovm


2019, Nov, 19

Good answer back in return of this issue with genuine arguments and telling the whole thing on the topic of that.