Skip to content

How To Install & use Putty in Ubuntu Linux

System Admins who had worked on Windows Operating system, surely they have used putty software to ssh UNIX like systems. When they migrated to Ubuntu Desktop , they might require putty to manage their UNIX and Linux systems.

PuTTY is the most popular Windows SSH client. It supports flexible terminal setup, mid-session reconfiguration using Ctrl-rightclick, multiple X11 authentication protocols, and various other interesting things not provided by ssh in an xterm. Putty also supports various protocols like Telnet, SCP, rlogin, SFTP and Serial.

In this article we will go through installations steps of putty in Ubuntu 14.04 / 16.04 LTS / 18.04 LTS

Step1) Issue the below Command to install Putty

Open the terminal on your ubuntu system and run below apt-get command to install putty ( Putty Debian package available in the default package repositories).

$ sudo apt-get install putty -y

Alternate way to install putty is via GUI ( Synaptic Package Manager), In case Synaptic is not installed the first install it via below command,

$ sudo apt-get install synaptic -y

Once the synaptic is installed then open the Synaptic Package Manager , search putty as shown below :


Click on putty  Select ‘Mark for Installation’ option & then click on apply.

Step:2 Now Access the Putty SSH Client


Click on PuTTY SSH Client


Enter Remote Server’s IP Address or Hostname.


Click On Accept , then it will ask for User Name & Password as shown below :


How to Use Putty to access Cloud VMs via Keys

Let’s suppose you want to access your public cloud VMs via putty using their private SSH keys, so for that refer the below steps:

1) Access the Putty

2) Enter User Name and External IP address of your Cloud VM in ‘Host Name’ field


Here User name is the same user for which SSH keys are generated. By default SSH keys are generated in .pem format and putty don’t accept .pem ssh private keys, so it is recommended covert .pem ssh keys into .ppk format. One of the easiest way to convert keys into .ppk is via PuTTYgen utility, example is shown below. Puttygen utility will be installed automatically when we install putty.

$ puttygen my-ssh-key.pem -o my-ssh-key.ppk

3) From SSH Tab, choose ‘Auth’ and then browse .ppk format ssh key,


Now click on Open to start the SSH session with your cloud VM, After the successful Connection to your Cloud VM, run the commands and other tasks that you want to do and to come out of VM or disconnect from VM type exit command.

That’s all from this guide, please do share your feedback and comments.

24 thoughts on “How To Install & use Putty in Ubuntu Linux”

  1. Nice post. But why would you need to install putty, it’s just a frontend for ssh. It’s much easier to use ssh from the command line.

    1. Hi. Putty is more than just ssh. A good use is to use the serial option to “console in” to cisco devices. It also has a great Rlogin option.

      1. wondering if anyone can help. I am completely new at Ubuntu. Currently running Zorin Core and I’m trying to connect my cisco lab to my PC using puTTy using a Serial connection. Now when I select “Serial” , the “serial line” tab is automatically filled out: /dev/ttyS0.
        I hit open and get an error saying : Unable to open connection to :
        Unable to open serial port.
        What is it I need to do to make make that serial connection communicate with my client on the PC? Appreciate any help I can get.

        1. I think you don’t have permissions to open it. From a terminal: chown $USER /dev/ttySo (or the path that appears there). You could also do it with the file manager.

      2. How does one do a paste from the clipboard in Putty?
        Ctrl-V and Ctrl-Shift-V do not work.
        The Windows version of Putty has no problems with this.

          1. I can’t see My newly installed E1/T1 on wired network adapters on Ubuntu, but I can see it when hwinfo -short command issued, sorry i am new to linux/unix op systems, please help i need to give an ip address.

          2. I am using ubuntu 16.04, but Can not login using putty. If I am using terminal, I can login normally. Do you have experience like that?

          3. You can paste in to putty by connecting a mouse with a wheel by putting the curser in putty and press once on the wheel and it has now pasted.

          4. Exist the possibility to have and GUI (like TeamViewer) and also to use Putty in the same time ? I also have possibility to open in the same time more connection (to connect in the same time on a master PC and slave PC for example) ?
            Your answer is very important for me, because I installed Ubuntu 17.10 on 2 PC’s, and I use on-board video graphic card and from this reason doesn’t allow me to use TeamViewer and I search more safety and lighter possibility to have remote control on both PC’s.

            Thanks in advance for support and advice.

          5. I am having problems using PuTTY on Ubuntu OS. I wish to use the device /dev/ttyUSB0 in a session. I am getting a fatal error with the statements
            Unable to open connection to:
            Unable to open serial port:

Leave a Reply

Your email address will not be published.