0

PuTTY LogoThis 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 PuttyCM: PuttyCM website seems to be down for some time now. Until that site comes backup, you can download puttycm.exe that I’ve been using.
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.
Tabs for PuTTY
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.
PuTTY Dockable Windows
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.
Multiple PuTTY Sessions in Panels
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.
PuTTY Sessions in four panels
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.
Enable PuTTY Encryption
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.
Create Encrypted PuTTY Database
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
PuTTY Connection Manager Displaying Encrypted Database
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.
Automatic Login for PuTTY Session
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.
PuTTY Automatic Connection Credentials
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.
PuTTY Session - Execute commands after login
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

Post a Comment

 
Top