Apr 292016

ADM

Putty auto login with password

  • April 29 2016
  • ADM

 

 

Putty auto login with password - windowslinux

 

Probably all of us who works on daily basis with Linux servers faces this "problem": login with putty on remote server with user and password for one hundred time a day. A solution would be to save the username and the password, so one step to do the job. Of course this is not a secure way to do it, but is suitable for test servers and also from personal computers.

First, just to make sure you don't have an too old version of putty, download the latest version.

If you want to connect to SSH using putty the command will be:

putty -ssh [email protected] -pw password

On Windows you can simply create a shortcut and add the credentials as parameters:

  1. Create a shortcut on your desktop to putty.exe;
  2. (optional) Rename the shortcut to something suggestive, e.g putty - [email protected];
  3. Right-click on shortcut and choose Properties;
  4. Modify target to: "<path_to_putty>.exe" [email protected] -pw password;
  5. click OK.

Enjoy the shortcut!