PuTTY is an excellent Telnet and SSH client for Windows and Unix. I have used it for all my IT Career to access my Home and Work Linux boxes.
I now exclusively use Linux at home, but found the GTK1.2 PuTTY client to be a bit aged.
However, while not listed as a download on the main website there are links to the GTK2 version which has been ported. Update: The Putty GTK2 client is now part of the main trunk for development. I have updated the svn paths below to reflect this.
To compile your own copy:
Install requirements as noted in comment from Thomas Novin below:
sudo apt-get install gcc-3.4 # thanks to comment from Loren below sudo apt-get install build-essential libgtk2.0-dev halibut sudo apt-get build-dep putty sudo apt-get install libkrb5-dev
Halibut is required or you will get the error listed below
svn co svn://svn.tartarus.org/sgt/putty cd putty ./mkfiles.pl # you need to run this to generate the Makefile.gtk used below
Generate the documentation
cd doc make cd ../unix
Ubuntu 9.04 compile: Just tried to compile and didn’t need to change compiler versions using sed as below however did remove the -Werror from the CFLAGS line.
Ubuntu 8.10 compile: Thanks to the comment by Jayson for Ubuntu 8.10 you need to explicity define an older compiler version by finding and replacing “CC = $(TOOLPATH)cc” with “CC = $(TOOLPATH)gcc-3.4” which you can do with sed as follows.
sed -i.bak 's/)cc/)gcc-3.4/' Makefile.gtk
The above sed command means perform an inplace edit of Makefile.gtk but first make a backup copy with a .bak extension look for )cc and replace it with )gcc-3.4.
Compile putty and associated binaries
make -f Makefile.gtk
The result should be plink, pscp, psftp, pterm, putty, puttygen and puttytel binaries in the unix directory.
You can then get root and run
make -f Makefile.gtk install
to move the binaries to /usr/local/bin.
Obviously you must have the gcc tool chain and the Gtk2 development libraries installed. Mine compiled first go so I’m not sure of what the exact dependencies are required to compile it. To find out run make -f Makefile.gtk and read the error messages for clues on what may be missing.
sudo make -f Makefile.gtk install
cannot stat `../doc/plink.1': No such file or directory
sudo apt-get install halibut cd ../doc make cd ../unix sudo make -f Makefile.gtk