Python 3 on Windows has a dependency on the Visual C++ Runtime 2015.
#How to get putty saved sessions install
Download and install Git for Windows with all defaults. Git for Windows contains a minimal bash and ssh-keyscan which is used to generate the known_hosts format.
Prerequisitesĭownload and install PuTTY with all defaults. You can simply export your registry branch and have them import it. Once you have all these loaded into your registry, it is not necessary to have your co-workers run these same steps if they want the same list.
This will be done using a Python script that can convert a file in the known_hosts format to a registry file. This would suffice to create a pre-populated list, but we will take it one step further and also populate “KHCU\Software\SimonTatham\Putty\SshHostKeys” so that the host keys are preloaded and PuTTY will not have to prompt us to accept the key on the first access. We will use a template registry file and Windows Powershell to create these in bulk. Ultimately, what shows up in the PuTTy session list is the list of registry entries at “KHCU\Software\SimonTatham\Putty\Sessions”.
#How to get putty saved sessions how to
In this article, I will show you how to generate these session definitions for a bulk set of hosts, preloaded for a Windows PuTTy installation. but creating each session definition by hand is time consuming. And creating a saved session definition is extremely helpful so I can get the right window size, scrollback, keep alives, color scheme, etc. Putty is one of the first tools I install on any host or jumpbox.