Categories
Internet Keyboard Shortcuts Laptop linux Microsoft Password Web Trends

save username password in putty to auto-login

For some versions of Putty it’s as simple as:
putty.exe root@example.com -pw mypasswordforexamplecom
For those using Windows, you can simply create a shortcut and pass in those parameters. For example:
  1. Create a shortcut on desktop to putty.exe
  2. Rename the shortcut to “PuTTY – example.com”
  3. Right-click shortcut and choose Properties
  4. Modify the target similar to: “C:\Program Files\PuTTY\putty.exe” user@example.com -pw password
  5. You can also use IP Address of host in place of domain host name
  6. Click OK
Otherwise, you need to use a public key as explained here : “Creating and Copying Your Key-Pair in PuTTY SSH Client”.
 
'Coz sharing is caring

By Swatantra Kumar

Swatantra is an Open Source evangelist, a technologist and researcher. Professionally, he does software development, software architecture, server administration and project management. When he's not writing software, he enjoys building web entities and servers, reading about and working with new technologies, and trying to get his friends to make the move to open source software. He's written, co-written and published many articles in international journals, on various domains/topics including Open Source, Networks, Computer Organization, Mobile Technologies, and Business Intelligence. He made a proposal for an information management system at University level during graduation days.

2 replies on “save username password in putty to auto-login”

Hello Swatantra Kumar,
Thanks for the info on “save username password in putty to auto-login”
The procedure works for the first time login. If we try to restart or duplicate session, the password is requested again.

Is there any solution to avoid this.

Thank you.

You can create the shortcut on desktop, and use this shortcut to open multiple session without supplying credentials manually again and again.

Leave a Reply

Your email address will not be published. Required fields are marked *

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