PuTTY automatically supply password
Posted
by
Kyle Cronin
on Server Fault
See other posts from Server Fault
or by Kyle Cronin
Published on 2009-05-11T20:32:01Z
Indexed on
2011/01/10
16:55 UTC
Read the original article
Hit count: 207
I have a situation where I need to have PuTTY (or another SSH client for Windows) automatically log into another machine via SSH. I realize that this isn't a good idea security-wise, but unfortunately I'm constrained by the limitations both on the client and the server.
The best solution would be to have a shortcut or script on the desktop that, when double clicked, will connect to the server and automatically log in. Can I do this with PuTTY?
I am willing to explore public key authentication, but I'm not sure where the PuTTY key resides or how to copy it to the server, as the app starts automatically upon login.
© Server Fault or respective owner