Access Linux server using SSH in Windows, Linux and Mac OS.

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.

root@yourserver.example.com’s password:

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

root@yourserver.example.com’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

[root@yourserver.example.com ~]

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.

# ssh username@yourserver.example.com

3. You need to enter the password of SSH user of your server.

username@yourserver.example.com’s password:

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

[root@yourserver.example.com ~]#

Part 2: Access Linux server using SSH in Mac OS

1. If you have Mac OS. Go to Search bar and type “Terminal”.

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

# ssh username@yourserver.example.com

3. You need to enter the password of SSH user of your server.

username@yourserver.example.com’s password:

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

[root@yourserver.example.com ~]#

Thank you…


    • Related Articles

    • Change SSH Default Port 22 to Custom Port

      1. Access your linux server using SSH with putty any third party software. 2. Enter your sudo user password or root password. 3. Open SSH configuration file using below command in your favorite editor. [root@ssh-port-change ~]# vi ...
    • Deploy Django Applications Using Nginx and uWSGI on Ubuntu 14.04

      Django is a Python Web Platform of high standards that promotes fast development and clean, pragmatic design. A description on using uWSGI and nginx on Ubuntu 14.04 is given in this document. Before You Begin 1. Get acquainted with the starting guide ...
    • How to Install (Linux, Apache, MariaDB, PHP) LAMP Stack on CentOS 7

      LAMP, which operates Linux as the operating system, is an open-source web-developing platform using Apache as the web-based server and PHP as an object-oriented scripting language. (Instead of PHP, Perl or Python are sometimes used.) Prerequisites ...
    • How to Install Xrdp Server (Remote Desktop) on Ubuntu 20.04

      Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) that allows you to control a remote system graphically . In this tutorial, we will learn how to install and configure Xrdp server on Ubuntu 20.04. Installing Desktop ...
    • Linux Top Command

      Top Command Linux processes are displayed by top command. It gives the running system a dynamic real-time view. In general, the system summary information and the list of processes and threads currently managed by the Linux kernel are displayed by ...