Exporting PuTTY Sessions

I use PuTTY a lot, both at home and at work and for many different reasons and projects. Normally my saved sessions are not something I need to worry about moving around, my work sessions stay at work and the sessions I use at home stay at home. Recently, however, I had need to backup my PuTTY sessions in preparation of having my laptop replaced at owrk. I did some searching and found this article describing how to export and import the registry key that contains all your PuTTY connection settings. After reading through the article I realized that alternatively it would just be easier to create a .bat file containing this command:

regedit /ea putty.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY

This command says to run regedit and export (/ea) the registry key  (HKEY_CURRENT_USER\Software\SimonTatham\PuTTY) to a file (putty.reg) that you can later merge back into the registry by right clicking the resulting file (putty.reg) and choosing “Merge” from the context menu.

NOTE: Never merge registry settings into your registry that you are not certain of the origin of, it can be very dangerous!!

0 Responses to “Exporting PuTTY Sessions”

Comments are currently closed.