4.3 KiB
How to Install Putty on Ubuntu and Other Linux Distributions
If I am not wrong, Putty is perhaps the most popular SSH client for Windows.
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 the ‘real’ Linux terminal 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 a new and changed settings.
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.
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-get 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 get the source code of Putty 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?
via: https://itsfoss.com/putty-linux/
作者:Abhishek Prakash 选题:lujun9972 译者:译者ID 校对:校对者ID