Introduction:
PuTTY is a widely used SSH and telnet client that allows users to remotely access and manage servers. While it is primarily designed for Windows, PuTTY is also available for Ubuntu and other Linux distributions. This guide will walk you through the installation process of PuTTY on Ubuntu, ensuring a seamless setup. A new protocol named SSH (Secure Shell) was introduced that allows multiple devices to communicate over a network in a secure manner. In this blog post we will guide you to install PuTTY as an SSH client on your Ubuntu. we will learn in this article Installing PuTTY on Ubuntu step by step.
Prerequisites
Before installing PuTTY on Ubuntu, make sure you have:
- A system running Ubuntu (20.04/22.04 or other versions)
- A user account with sudo privileges
- Internet access to download packages
Step-by-Step Installation Guide
To install PuTTY on Ubuntu, you can use the terminal. Here are steps to follow.
- Open the terminal (Ctrl + Alt + T).
- enable the Universe repository on your system by running:
Step 1: Update System Packages
Before installing any new software, it’s best to update your system’s package list to ensure you get the latest versions:
sudo apt update && sudo apt upgrade -y
Step 2: Update Universe Repository
sudo add-apt-repository universe
Step 3: Install PuTTY
Ubuntu includes PuTTY in its official package repositories. Install it using the following command:
sudo apt install putty -y
Step 4: Verify the Installation
Once the installation is complete, check if PuTTY is installed by running:
putty --versionStep 4: Launch PuTTY
Once the installation is complete, you can launch PuTTY from the terminal by typing putty in the terminal.
putty
Alternatively, you can find PuTTY in your system’s application menu and open it from there.
Configuring PuTTY for SSH Access
- Open PuTTY.
- In the “Host Name (or IP address)” field, enter the remote server’s IP or domain.
- Set the “Port” to 22 (default for SSH).
- Select “SSH” under “Connection Type.”
- Click “Open” to initiate the connection.
Uninstalling PuTTY
If you no longer need PuTTY, you can remove it from your system using:
sudo apt remove putty -yTo remove residual configuration files, run:
sudo apt autoremove -yRead Related Topics:
PuTTY terminal not working on Ubuntu 22.04 & Linux after installation
FAQs
1. Can I use PuTTY on Ubuntu without installing it?
Yes, you can use the built-in SSH client in Ubuntu by running ssh user@hostname in the terminal.
2. What are the alternatives to PuTTY on Ubuntu?
Some popular alternatives include OpenSSH, Termius, and MobaXterm.
3. How do I connect to a remote server using PuTTY?
Enter the remote server’s IP address, choose SSH as the connection type, and click “Open.”
4. Does PuTTY support key-based authentication on Ubuntu?
Yes, PuTTY supports key-based authentication. Use PuTTYgen to generate keys and configure SSH access accordingly.
Conclusion:
Installing PuTTY on Ubuntu is a very simple process that can be done in a few simple steps. By updating the package repository, installing PuTTY using the package manager, and optionally installing additional PuTTY tools. After installation completed we can enjoy lot of features of Putty over Ubuntu and other Linux Distros as well.