If I am not wrong, Putty is perhaps the most popular SSH client for Windows operating systems.
In IT companies, the development environment is usually on a remote Linux system while the developers use Windows as their local system. Putty is used for connecting to the remote Linux system from the Windows machine.
Putty is not limited to Windows only. You can also use this open source software on Linux and macOS.
But wait! Why would you use a separate SSH client on Linux when you already have plenty of ‘real’ Linux terminals with you? There are several reasons why you would want to use Putty on Linux.
- You have used Putty for so long on Windows that you are more comfortable with it.
- You find it difficult to manually edit SSH config file to save the various SSH sessions. You prefer Putty’s graphical way of storing SSH connection.
- You want to debug by connecting to raw sockets and serial ports.
Whatever may be the reason, if you want to use Putty on Ubuntu or any other Linux, you can certainly do so. Let me show you how to do that.
Installing Putty on Ubuntu Linux
The good news for the Ubuntu users is that Putty is available in the universe repository of Ubuntu.
To install Putty on Ubuntu, you should first make sure that the universe repository is enabled.
sudo add-apt-repository universe
Once you have the universe repository enabled, you should update Ubuntu with this command:
sudo apt update
After this, you can install Putty with this command:
sudo apt install putty
Once installed, you can start Putty by finding it in the menu.
As you can see in the screenshot below, the Linux version of Putty looks the same as the Windows version. That’s a relief because you won’t have to fiddle around trying to find your way through
When you enter the remote system’s hostname or IP address and connect to it, Putty will utilize the already saved SSH keys in your home directory. It’s quite good at SSH key management.
Installing Putty on other Linux distributions
Putty is available for Debian so you just need to use apt-get or aptitude for installing it.
sudo apt install putty
Putty is also available for Fedora/Red Hat and can be installed using the default package manager.
sudo dnf install putty
You can also easily install Putty in Arch Linux based distributions.
sudo pacman -S putty
Remember that Putty is an open source software. You can also install it via source code if you really want to. You can download its source code from the link below.
I would always prefer the native Linux terminal over an SSH client like Putty. I feel more at home with the GNOME terminal or Terminator. However, it’s up to an individual’s choice to use the default terminal or Putty in Linux
What do you use for managing multiple SSH connections on Linux?