
While the majority of Linux distributions come equipped with built-in SSH capabilities via the terminal, PuTTY offers a visually appealing and user-friendly graphical interface for users who favor a more intuitive approach. In this guide, we’ll outline the complete process of installing PuTTY on various Linux systems, ensuring you can easily manage remote server access.
What is PuTTY?
PuTTY is a versatile client that enables users to establish connections to remote servers and devices utilizing protocols such as SSH and Telnet. Additionally, it allows for the execution of graphical applications through those SSH connections, providing an enhanced experience.
You may wonder about the necessity of PuTTY when Linux terminals already support SSH. For instance, if you’re a system engineer or developer managing a Linux server while operating from a Windows PC, PuTTY serves as your bridge to connect seamlessly to those remote systems. Its graphical interface simplifies session management, which can be cumbersome with conventional command-line tools.
For system administrators (Sysadmins), PuTTY not only facilitates remote access but also improves serial port communications, debugging tasks, and configuration management. These features combine to make PuTTY an indispensable tool for effective system management.
How to Install PuTTY via Command-Line Interface
PuTTY is readily available in the official repositories of most Linux distributions. The installation process can be effortlessly carried out using the package manager specific to your system. Here’s how to install PuTTY on Debian-based systems:
sudo apt install putty -y

For those using Fedora, CentOS, RHEL, Rocky, or AlmaLinux, you can employ either the dnf
or yum
package managers, depending on your system’s age:
sudo dnf install putty # For Modern Systemssudo yum install putty # For Older Systems
Arch Linux users can install PuTTY using the pacman
command:
sudo pacman -S putty
Once installation is complete, run putty
in your terminal to launch:

Upon launching, the PuTTY Configuration window will appear, allowing you to easily set up new connections by specifying either a Host Name or IP address, while also selecting the connection type.
For instance, to connect to a remote server at 192.168.1.100
as the root user, you would use:
sudo putty root@192.168.1.100

Installing PuTTY through GUI
If you prefer installing software via a graphical interface, you can easily download PuTTY using your distribution’s Software Manager, such as the Ubuntu Software Center or GNOME Software. Simply search for “PuTTY”:

Hit the Install button to procure the PuTTY SSH client for your system:

After the installation finishes, launch PuTTY from your application launcher:

You may customize various settings within PuTTY, allowing you to save and load session details, adjust terminal appearance, and enable X11 forwarding for running remote applications with graphical interfaces:

Uninstalling PuTTY From Linux
If PuTTY is no longer required, uninstalling it is a straightforward process. For Debian-based systems, executing the following command will remove PuTTY:
sudo apt remove putty

Subsequently, clean up any unused dependencies with:
sudo apt autoremove

For RHEL-based distributions, such as Fedora or CentOS, remove PuTTY using:
sudo dnf remove putty # For Modern Systemssudo yum remove putty # For Older Systems
Similarly, Arch Linux and its derivatives can uninstall PuTTY through:
sudo pacman -R putty
Now you’ve learned how to install and uninstall PuTTY across several Linux distributions efficiently!
Final Thoughts
Linux offers both GUI and CLI methods for installing PuTTY, both of which are easy and quick to follow. In this article, we’ve detailed how to set up PuTTY on notable distributions such as Debian, Fedora, and Arch Linux. Once aboard, you can harness PuTTY’s user-friendliness to manage SSH, Telnet, or Serial connections effortlessly. Should you ever decide to remove it, your distribution’s package manager provides a seamless uninstallation process.
Frequently Asked Questions
1. Can I use PuTTY on Linux just like on Windows?
Absolutely! PuTTY is designed to function on both Linux and Windows, providing similar features across platforms, including session management and protocol options.
2. Is PuTTY the only terminal client for Linux?
No, while PuTTY is popular, there are other terminal clients available on Linux, such as OpenSSH, MobaXterm, and Terminus, each with unique features catering to different user needs.
3. What if I want to customize PuTTY’s appearance?
PuTTY offers extensive customization options. Once launched, navigate to the “Window” settings within the configuration menu to adjust colors, fonts, and even save your configurations for different sessions.
Leave a Reply ▼