Skip to main content

How to access Linux server using SSH in Windows, Linux and Mac OS.

Part 1: Access Linux server using SSH in Windows

1. Download PuTTY or another PuTTY download source from URL https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe . The file called "putty.exe" is perfect for simple SSH.

2. Save and download software in your Windows system.

3. To launch the application, double-click the putty.exe file.

4. Enter the settings of your connection

  • Enter the server ip address or hostname.
  • Port: 22 ( leave as default if SSH port is default)
  • Connection Type: SSH (leave as default)

5. Click Open to start the SSH session.

6. If this is the first time you are connecting to the server on this computer, you will see the following output. Please accept the connection by clicking Yes.

7. Once the SSH Connection has been opened, you should see the terminal prompt asking for your username:

Connect to your preferred SSH user.

8. Next, please enter your password. Please note that you will NOT see your cursor moving or any typed characters (such as * * * * * *) when you type your password. This is a standard security feature of the PUTTY. Hit get in.

[email protected]'s password:

9. You are logged in to your SSH server now. You will see output like this.

[email protected]'s password:
Last failed login: Sat Apr 25 17:03:02 IST 2020 from IP on ssh:notty
There were 2 failed login attempts since the last successful login.
Last login: Sat Apr 25 16:57:08 2020 from IP

[[email protected] ~]

Part 2: Access Linux server using SSH in Linux Ubuntu

1. If you have ubuntu desktop. Go to Search bar and type "Terminal".

2. Now terminal will open and you need to enter the following command on terminal.

3. You need to enter the password of SSH user of your server. ``` [email protected]'s password:


4\. Now you have connected your linux server on your ubuntu desktop using terminal and you will get outpout like this:

[[email protected] ~]#


## Part 2: Access Linux server using SSH in Mac OS

1\. If you have Mac OS. Go to Search bar and type "Terminal".

![](images/mac-1.png)

2\. Now terminal will open and you need to enter following command on terminal.

![](images/mac-2.png)

ssh [email protected]


3\. You need to enter the password of SSH user of your server. ```
[email protected]'s password:

4. Now you have connected your linux server on your Mac OS using terminal and you will get outpout like this:

Thank you...