PuTTY Auto Login Macro – PuTTY Connection Manager

PuTTY Auto Login Macro – PuTTY Connection Manager
3 votes, 4.67 avg. rating (91% score)

Automatic Login or Login Macro function – Have you ever wanted to make the PuTTY login session automatic?

PuTTY is a great free telnet ssh client and I wouldn’t trade with any other client. But it lacks of this minor function that I really want – Automatic login.

Maybe the automatic login is not a big deal. You can just type in the userid and the password each time you log in to the development server . But if you do that regularly everyday, opening several times throughout the whole day, you would understand and agree with my little wish.

So I been looking for the solution , going through the every results of the Google search.

And here is the great helper application that can do automatic login macro!
PuTTY Connection Manager (http://puttycm.free.fr/) is the great .NET 2.0 application that can do the automatic login. Moreover, it supports tabbed windows just like the Firefox does it. Also it has quick connection menu bar that you just type in the address and connect which can be also useful.

Features

  • Tabs and dockable windows for PuTTY instances.
  • Able to load the profiles created from PuTTY.
  • Login macro – You can define Userid and Password and extra commands to execute after login.

Requirements

It can be little confusing when you first use the software and to use that Login Macro. By default the PuTTY CM shows existing PuTTY Session profiles in the TreeView located in the right pane. Don’t be fooled, you cannot set Login Macro with the existing PuTTY Session profiles. You will need to create a new database to do that.

Configuration Dialog

  1. Create a new database from File menu.
  2. You will see the newly created database icon in the right pane, above the PuTTY Session item. Copy the profile you want to set Login macro from the PuTTY Sessions and paste into the new database you just created. You can use traditional ctrl+C and ctrl+V shortcut.
  3. Right mouse click on the newly created item under the database and select Configuration.
  4. A new window dialog will show up with the same connection information as the original PuTTY profile. Check on the “Enable Login Macro Mode”.
  5. Select “Login Macro” in the left TreeView and you will be able to define the userid ,password, timeout seconds, and post login commands.
  6. After inputting data, click on the OK button and connect by double clicking the item.

Also, don’t forget to save your database settings, so you can use the settings later on.

Come visit again for more information on PuTTY Automation.

14 thoughts on “PuTTY Auto Login Macro – PuTTY Connection Manager

  1. Thanks for the Howto. Works fine after increasing all the timeouts in Login Micro configuration menu.

  2. Thank you for your comment. That’s right. You may need to change timeouts to adjust when to send the userid and password. If the server’s response is slow , you may need to increase the Connection timeout.

  3. There is no licensing issue since it is freeware and Yes you can use it at work. I used to use it once, but now I am just using plain PuTTY. I had some problem with the window focusing if I remember correctly.

  4. We have lab servers and each machine have the same user id and password. I have a created a windows batch file ash and I can just auto login to any server using

    ash

    Can I do something with the PuttyCm where it just prompts me just for the server IP and use the default user id and password.

    I know I can create sessions for each, but there are tons of such machines and I do not want to create tons of sessions. The user id and password of the lab machine are trivial and everyone knows it, so they are in clear text in my batch. This is what my batch file does

    start putty %1 -l <userId< -pw

    The ash has the userId and passwd hardcoded. Can I do something like this with login macro.

  5. my server account’s password require changing after a period. and also disabled after 3 login attempt.

    hope putty CM can handle these case

  6. Just create a shortcut to :
    “C:\Program Files\Putty\putty.exe” -ssh -pw PASS USER@HOST
    Put it on your quicklaunch or something and thats it

  7. Thanks HanaDaddy and Tomas..
    After increasing the timeout problem with password getting entered before username is solved.

  8. Tomas :
    Thanks for the Howto. Works fine after increasing all the timeouts in Login Micro configuration menu.

    How much time you have given because it is asking password for me every time even after setting the password in login macro. Can you give the screen shot of ur login macro window

Leave a Reply

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