It’s easy to backup and restore PuTTY sessions with a few commands:
On the old computer:
regedit /ea puttysession.reg HKEY_CURRENT_USERSoftwareSimonTathamPuTTY
On the new computer:
regedit /s puttysession.reg
I have used this method for ages now and it’s not the most efficient for what I do. I like to keep PuTTY on a thumbdrive while I’m moving around throughout the day.
I examined a few alternatives for saving PuTTY sessions to harddisk:
portaPuTTY portaPuTTY is a hacked version of PuTTY that stores all its information in files, not in the registry. I made this version so I could have a good SSH client to run from a USB drive.
Jakub’s PuTTY This PuTTY stores its configuration (sessions, ssh host keys, random seed file path) to file instead of registry. Every session and ssh host key is stored in a separate file. Default paths are (where . represents executable directory):
./sessions/packedSessionName ./sshhostkeys/packedHostName ./putty.rnd
I suppose if you use PuTTY as much as I do, you may be interested in one of the above 2 alterations made to PuTTY’s original code to save locally. This would be nice because you could then store the sessions on a server (portaPuTTY) for common access — or just keep it on your thumbdrive.