PuTTY: Custom Icons

PuTTY is the most popular free SSH client for Windows. It’s very stable and very lightweight, due to the developers keeping bloat out of the source. One piece of bloat that I would like to see is the ability to pick icons, which I find very valuable when working on multiple servers, a common task for most developers. Luckily it’s pretty easy to roll your own PuTTY, so I figured I would offer a little how-to here.

  1. Download and install Cygwin. I’m not sure which packages you need, as I typically just install everything.
  2. Download putty source code from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
  3. Open cygwin shell
  4. cygwin: mkdir putty
  5. cygwin: cd putty
  6. cygwin: unzip [wherever download is]/putty-src.zip
  8. Now put your icon (.ico) file in WINDOWS and name it PUTTY.ICO
  9. cygwin: cd WINDOWS
  10. cygwin: make -f MAKEFILE.CYG putty.exe
  11. You should now havea nice fresh putty.exe file in the WINDOWS directory, copy this wherever you wish.
  12. Copy the next icon to PUTTY.ICO and re-run make. Repeat until you have one executable per server.