Learn the steps and commands to install PuTTY for free on Ubuntu 22.04 LTS Jammy JellyFish and 20.04 Focal fossa using Terminal to get a free SSH and telnet client.
What is PuTTY software?
PuTTY is free software that acts as a client to establish a secure remote connection via Telnet, Secure Shell, Remote Login and other protocols to a remote system acting as a server to these protocols to send commands through the interface CLI. It was released under the MIT license and can be downloaded for free. Previously, PuTTY as a program was only available for Windows operation. However, later its developers made it compatible with Linux and macOS as well. Besides the Desktop operating system, similar implementations of the software are also available for Android or iOS.
It supports IPv4 and IPv6. In addition to the actual terminal emulation software, the user will also have other tools in the program such as SCP, Secure File Copy Client and SFTP, Secure File Transfer Client; SSH authentication agent; RSA and DSA key generation tool.
Few PuTTY advantages
• Free download
• Support for all popular operating systems such as Windows, Linux and macOS
• Serial interface and SSH tunnel are supported
• Encrypts the session
• Allows users to generate key pairs for SSH connection using PuTTYgen
• Support for different types of keys for SSH sessions such as RSA, DSA, ECDSA and Ed25519 keys
• Secure file transfer via SCP and SFTP
Steps to install PuTTY on Ubuntu 22.04 Jammy or 20.04 Focal Fossa
Add the Ubuntu universe repository
Although the Ubuntu Universe repository is already enabled by default, however, to confirm or install, run the command below. We are enabling this repository because the PuTTY package is available through it.
sudo add-apt-repository universe
Linux system update
Let’s run the system update command first to refresh the repository cache and this will also ensure that your system is up to date.
sudo apt update
Command to install PuTTY on Ubuntu 22.04 or 20.04
Now we have everything we need to download and install PuTTY on our Ubuntu 22.04 Jammy or 20.04 Focal Linux systems. Therefore, just use the APT Package Manager command below to install it.
sudo apt install putty
To check the version
The only way to confirm that the installation was successful and that this free SSH and Telnet client is on your Linux system is to run the command to check the version.
putty --version
PuTTY SSH Client Command Line Tools
There are a few common tools that we can use, here are those:
PuTTY Secure Copy Client (SCP)
pscp
To use SFTP to securely manage remote server files
psftp
To generate RSA and DSA SSH keys on Ubuntu
puttygen
Options to use:
Usage: puttygen ( keyfile | -t type [ -b bits ] ) [ -C comment ] [ -P ] [ -q ] [ -o output-keyfile ] [ -O type | -l | -L | -p ] Use "puttygen --help" for more detail.
Run the PuTTY GUI on Ubuntu 22.04 / 20.04 LTS
Well just like Windows we also get PuTTY GUI to easily manage it on our Linux systems.
Either run the given command in your terminal to open it.
putty
Or go to Application launcher and search for PuTTY SSH Client, you will get its icon, just click to run it.
Other articles:
• How to activate ssh on Ubuntu 20.04 LTS Linux
• Install the Gnome Tweak tool on Ubuntu 22.04 LTS Jammy JellyFish
• Set the password for the root user in the Ubuntu 20.04 LTS focal pit