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 engineering leader with a successful record in building, nurturing, managing, and leading a multi-disciplinary, diverse, and distributed team of engineers and managers developing and delivering solutions. Professionally, he oversees solution design-development-delivery, cloud transition, IT strategies, technical and organizational leadership, TOM, IT governance, digital transformation, Innovation, stakeholder management, management consulting, and technology vision & strategy. When he's not working, he enjoys reading about and working with new technologies, and trying to get his friends to make the move to new web trends. He has written, co-written, and published many articles in international journals, on various domains/topics including Open Source, Networks, Low-Code, Mobile Technologies, and Business Intelligence. He made a proposal for an information management system at the University level during his 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.