Connect with SSH using PuTTY to a remote host

PuTTY is an open source SSH and telnet client developed originally by Simon Tatham for Windows and UNIX systems. The purpose of PuTTY is to provide an easy way to connect with any server running an SSH daemon in order to give you the illusion to work on the remote system as if you were logged into. In this quick tutorial you gonna learn how to connect with ssh using PuTTY to a remote host.

Connect with SSH using PuTTY to a Remote Host

  1. Download PuTTY from https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html (putty.exe is enough)
  2.  Save the download on the desktop for quick access.
  3. Double-click on the putty.exe program
  4. Then on the following screen, enter your SSH information:
putty_marclamberti
  1. Click on Open to start a SSH session.
  2. If this is your first time connecting to the server from this computer, you will see a dialog box telling you that the “host key is not cached in the registry”, just click on “yes”.
  3. Once the SSH Connection is open, you should see a terminal prompt asking for your login
ssh_login_marclamberti
  1. After having typed your login, you will be prompted to enter your password in the same way. Notice that your cursor will not move while you are typing for security reason.
  2. “Enter” and you are now logged into your remote host using SSH.
PS: For students who are enrolled into the course The Complete Hands-On Course to Master Apache Airflow set the host to 127.0.0.1 and the port to 2200 to be able to connect to the VM.
Liked it? Join the Patreon Community and get an access to exclusive content now!

2 thoughts on “Connect with SSH using PuTTY to a remote host”

  1. Hi Marc,
    i have downloaded the airflow machine as you specified. when double click the downloaded filed it got installed in VMware and run until ‘Localhost :’ display. when i am trying to connect using putty on my windows laptop using the ip 10.2.221.1 and port 22, it is failing to connect.

    Could you please guide me on this.

    thank you,
    Raghu

    1. marclamberti

      Hi raghu,
      Use the ip address 127.0.0.1 and port 2200 in Putty to connect to the VM 🙂

Leave a Comment

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

Scroll to Top