"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Putty

Clear Session Information and Host Keys from Registry

SUMMARY: For privacy, if you no longer plan on using Putty, remove information it stores in the Windows Registry.


 

The Putty terminal software stores information in the Windows Registry at key: My Computer\ HKEY_CURRENT_USER\ Software\ SimonTatham. This includes session configuration information and SSH Host Keys, useful to help determine if a remote computer accessed via SSH has changed or if there is a possibility a "man in the middle" attack attempt is occurring.

If you plan on deleting Putty from your computer and possibly donating or giving away your machine, you may wish to remove this information from the Registry for privacy reasons. The Putty registry entries include the list of sites to which you access via SSH, and you may not want this known by third-parties.

To perform a cleanup, execute the following command at the DOS prompt or via "Start" - "Run":

putty -cleanup

If Putty is not in your system PATH, make sure to include the full path to Putty when executing this command.




You will be presented a dialog box similar to the following:


Putty cleanup warning dialog box




If you click "Yes", all Putty-related registry entries plus a random seed file "putty.rnd" (normally located in your "Application Data" directory) will be removed.




 

Got something to add? Post a comment!

Everyone is invited to submit comments. Registered users also receive their own visitor profile page with a summary of recent posts.
Register | Login

Your name:
 E-mail:
* Home/Blog Page:
Comment:
(Max chars: 5000)

* = optional field

 


Print This Tip

Get E-Mail When New Tips are Online

Return to the Putty page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )