Putty is a free and open-source cross-stage SSH and telnet customer that even subsequent to being around for more than 20 years stays quite possibly the most mainstream SSH customers being utilized particularly on the Windows stage.
#!/bin/bash
sudo apt-get update
sudo add-apt-repository universe
sudo apt-get install putty -y
Create a bash script named putty.sh and paste the above command sequence and execute it to install Putty in ubuntu 22.04 LTS machine.
Putty Bash Script for Ubuntu 22.04 LTS