Backup your entire PuTTy host list

putty_host_listMoving to a new PC? Setting up a new workstation? Don’t forget your PuTTy host list.

Every sysadmin who has been working for a while collects a considerable number of hosts in their PuTTy configuration. Ever wondered where PuTTY saves this list? Well, it’s not in a config file you could simply copy or move. Instead, PuTTy keeps it’s configuration in Windows registry.

Here’s a one liner which copies entire host list into a single .reg file:

regedit /e "%userprofile%\Desktop\putty.reg" HKEY_CURRENT_USER\Software\SimonTatham

Also please remember to copy your private keys (.ppk files) if you’ve used any.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.