Autostart putty's pageant
By now I am fairly used to introduce people with a non-programming background to putty when they have to access some of our IT infrastructure that requires public key authentication. Once people start getting comfortable with it I usually get asked whether it would be possible to prevent them having to manually start the
pageant.exe every time they log into their system.
The answer is of course: yes.
Like most operating systems, Windows provides a way to automatically start a service or launch a program upon booting and/or user login.
pageant.exe is a simple user space application, there’s not a whole lot to it. Simply follow the following proceddure:
Windows+Rto bring up the Windows runner.
shell:startupand hit enter. A Windows file explorer window will appear.
- Create a shortcut that points to your
pageant.exebinary in there.
And that’s already it. Whenever your user logs into the system, Windows will automatically start