PuTTY supports ssh autologin with its command line parameters. Here’s how you can create a desktop shortcut to automatically login, with password, to a ssh server using PuTTY.

Putty auto login to ssh

  1. Download PuTTY.
  2. Right click on desktop and choose New > Shortcut
  3. Click Browse, navigate to and choose putty.exe
  4. Append the location with the PuTTY command line parameters for ssh auto login as shown below:
    C:\putty.exe –ssh -pw <your password> <your username>@<server name/IP>

    For example:

    C:\putty.exe –ssh –pw mypassword uberullu@10.203.241.200

    It should look something like this:

     Append the location with PuTTY parameters

  5. Choose Next and Finish.

Done. :) Just double click on the shortcut to login to the server. This kind of PuTTY autologin is supported only for ssh and not for telnet. One drawback is that your password is in plain text and visible. If you wish to hide your password, you can create a private key using PuTTYgen. The steps are explained very nicely in a video tutorial at blindhog.net.

You may also like to read:
  1. Prevent Putty session from going inactive [How to]
  2. Create a shortcut to stop unresponsive programs in Windows
  3. Create a Shortcut to Hide Desktop Icons with Autohotkey
  4. How to make Putty remember colour settings