This article is part of the on-going Software For Geeks series.
PuTTY Connection Manager was mentioned in the 12 PuTTY add-ons that we discussed a while back. One of the major missing features in PuTTY is the ability to display multiple sessions in Tabs.
PuTTY CM displays multiple PuTTY sessions in Tabs. In this article, let us review in detail the 5 powerful features of the PuTTY Connection Manager that will make PuTTY more enjoyable.
Download the PuTTY Connection Manager. PuTTY CM is written in C#. You need .NET 2.0. When you install PuTTY CM for the first time, you need to specify the location of the PuTTY executable.
Feature 1: Display Multiple PuTTY Sessions in Tab
If the PuTTY Connection Manager opens the original PuTTY in a separate window, instead of opening as a TAB, please go to Tools -> Options -> Select the check-box “Enable additional timing for PuTTY capture (ms)” -> set the value to 500 ms. This will open the PuTTY window inside the TAB as shown below.
Fig: PuTTY sessions in Tabs
Feature 2: Dockable Windows for PuTTY Sessions
Apart from displaying multiple PuTTY sessions in Tabs, PuTTY CM can also show different PuTTY sessions in panels.
In the example below, to move the qa-box PuTTY session to the bottom panel, left-click on the qa-box tab and hold the mouse until it displays the panel symbol (which will be like a Plus symbol) in the middle of the screen. Now move the mouse to the bottom of the plus, which will high-light the bottom portion of the screen indicating that the qa-box session will be moved to the bottom panel.
Fig: Select the Panel to dock a PuTTY session
Now, release the mouse, which will move the qa-box to the bottom panel as shown below.
Fig: Selected PuTTY session docked in proper panel
Using the similar technique you can move all the PuTTY sessions to different panels as shown below.
Fig: Multiple PuTTY Sessions docked appropriately
Feature 3: Encrypted PuTTY Configuration Database
By default, PuTTY session informations are stored in the windows registry, which are not encrypted. If you want to keep the session information (ip-address, session name etc.,) encrypted, you can use the database encryption feature available in the PuTTY CM
- Download the AES encryption library (pcmcrypt.dll) from PuTTY CM website.
- Place this file in the PuTTY CM program folder. C:\Program Files\PuTTY Connection Manager
- Restart the PuTTY CM
- Go to Tools menu -> Options -> Database -> under the Encryption section, the available algorithms should display “AES Rinjdael Managed” as shown below, indicating that the encryption library is successfully installed.

Fig: Enable Encryption
Click on File -> New -> Database and enter the appropriate information as shown below to create a secure PuTTY session database. Follow the best practices to create a strong password while choosing the passphrase for the secure database.
- Database Name: putty-secure-sessions
- Click on Enable database encryption check-box
- Select “AES Rinjdael Managed 256 bits”
- Enter a strong passphrase for the database.
- Click on ‘Create database’ to create the database as shown below.

Fig: Create Encrypted PuTTY session database
- Click on File menu -> save database to save the database to a physical file.
- Now the ‘putty-secure-sessions’ database will be displayed under the Connection manager as shown below

Fig: PuTTY Connection Manager displaying Encrypted Session database
- Right mouse-click on the ‘putty-secure-sessions’ database name -> Click on New -> Click on Connection, to create a new secure PuTTY session.
Feature 4: Automatic PuTTY Session Login
Once you’ve created a secure PuTTY session as mentioned above, you can setup automatic login. i.e you can save the uid/pwd for the individual PuTTY session in the secure database. i.e When you double-click on a particular secure PuTTY session, it will login automatically.
From the putty-secure-sessions database, select a particular PuTTY session, right mouse-click and select Configuration, click on the ‘Enable Macro’ check-box as shown below.

Fig: Enable Login Macro For a PuTTY Session
From the same PuTTY session configuration window, click on the ‘Login Macro’ from the left-side menu and enter the uid/pwd as shown below.

Fig: Automatic Login Setup for a PuTTY Session
Now, when you double-click on that particular PuTTY session, it will do the login automatically using the credentials you’ve provided.
Feature 5: PuTTY Session Post-Login Commands
You can also setup post-login command, which will get executed automatically after you login.
The setup of post-login commands is done under the same ‘Login macro’ screen under the ‘Post-login command’ section. Click on ‘Enable post-login commands’ check-box and you can set a total of 5 post login commands as shown below.

Fig: Execute Commands automatically after login
Apart from the above 5 powerful features, PuTTY Connection Manager have the following features:
- Ability to select multiple themes
- Import and Export PuTTY sessions
- PuTTY CM also comes as standalone executable that can be launched directly from an USB thumb drive.
- Did I mention that PuTTY Connection Manager is a freeware ?
- Finally, make sure to read 10 Awesome PuTTY Tips and Tricks You Probably Didn’t Know
Get free Unix tutorials, tips and tricks straight to your email in-box.
If you enjoyed this article, you might also like..






My name is Ramesh Natarajan. I will be posting instruction guides, how-to, troubleshooting tips and tricks on Linux, database, hardware, security and web. My focus is to write articles that will either teach you or help you resolve a problem. Read more about
{ 2 trackbacks }
{ 15 comments… read them below or add one }
omg… its a really kick-ass connection manager now!
thanks a lot for the article!
Oh, I’ve been waiting years for this change! That’s great! But btw. why “software for geeks”? Putty is something which is absolutely necessary on a pc
!
Very nice find!
NO!!!!!!!!!!!!!!!!!!!
Do not store passwords in a database, encrypted or otherwise. Learn to use SSH properly and use the Putty Agent to store your keys in memory.
Multi tabbed interface is okay, though not strictly necessary but storing passwords is a very bad idea and you shouldn’t be suggesting it.
Do you use AES from .NET? The onw with backdoors for MS, NSA, CIA, etc?
Very patriotic!
Hi
Thanks for the article. This is a big time saver with my telnet connections to multiple servers.
KCDesi
WHat dose PuTTY Connection Manager Accually do ?? is it to spy on someone elses computer like a Keylogger ??
hi ,
Thanks for this valuable info.This is very useful for me.
thanks,
Raja K
@Beq, @Dan, @KCDesi, @Raja,
I’m glad you found this article very help. I appreciate your comment.
@Nicole,
Yeah. It is not just for “Geeks”, it is for everybody. From a windows user points of view, if you can use command-line and SSH to a unix box, you are a geek.
@Adam, @Octavio,
The encryption feature was mentioned as a FYI for others, if they choose to use it.
@Tiff,
You may want to re-read the article again to figure out what exactly “PuTTY Connection Manager” does. It definitely doesn’t do what you’ve mentioned in your comment.
Thanks. Just the recipe I need
– tab
– autologin
Can i save the full session of my telnet of router or other devices using the Putty Connection Manager. I tried but i could not save the telnet session of the routers.
Hi, Thanks for the gr8 tool.
I have a question: Do we have any similar tool to access multiple screens, eg: If i login into Prod: and i want to handle multiple tasks at a time, as a normal process we fo by “ screen ” and ctrl + a “ c ” or screen number.
So in order to manage multiple screens do we have a simillar tool? ?
If yes please let me know , thanks
– Kumar
Very cool, I’ve only ever used portaputty on windows due to the security issues.. of windows.. but I need this now, thanks and nice site!
Please do not use the database to store the password, not a safe practice. Ramesh Natarajan, you know better than that. Nice tool, but it may has hidden agenda: ” stealing your password!” so please don’t bla bla bla and cry Ramesh Natarajan, that you are not trying to do that
Hi,
Thanks for the nice article. I have got one question though.
Is there a way to include the ‘pwd’ in the tab label?
Thanks,
Krishna