Category Archives: Keyboard Shortcuts

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