Tag Archives: ssh client

How to Set the Window Title in PuTTY Tips, Tricks and Tutorials 07 JUL 2015

The free Telnet/SSH client PuTTY is an essential daily tool for me at work, what with all the Linux servers I routinely have to jump into and work on.

The default behaviour for PuTTY after logging into a server is for the terminal window’s title to be set by the server being communicated with – usually a combination of the currently logged in username and the server’s hostname or IP address.

A nice little trick however, if you want more human friendly window titles to work with (i.e., so you don’t get confused by the 10 open clients you have at any one time), is to force the Window Title to something you define – you know, like the actual project name that the server hosts.

To do this is pretty simple.

First, load the session whose window title you want to set. Click on the Terminal->Features menu item on the left and tick (enable) “Disable remote-controlled window title changing”. Next, go to the Window->Behaviour menu item and then enter your desired window title in the “Window title” field.

Go back to the session window and save your changes.

As easy as that! :)

writing on glass

Related Link: http://www.chiark.greenend.org.uk/~sgtatham/putty/

How to Export PuTTY Saved Sessions CodeUnit 11 FEB 2013

If you are a developer and you make use of the Windows operating system, then you will undoubtedly be more than just a little familiar with the fantastic PuTTY telnet/ssh client written and maintained by Simon Tatham.

I manage a fair number of servers over SSH and it is always a problem when I change my primary work machine as there isn’t a simple way to transfer all of your Saved Sessions over to the new machine.

Or rather, there isn’t any obvious way of doing it.

Turns out that exporting your Saved Sessions is a matter of registry manipulation, as the software saves everything over there. This makes it a simple task of exporting all the relevant keys using Window’s standard regedit utility and then importing them on the new PC.

To achieve, fire up a command prompt and enter:

regedit /e "%userprofile%\Desktop\putty-registry-export.reg" HKEY_CURRENT_USER\Software\Simontatham

This will generate a .reg file on your desktop which you can then move across to your new machine. Once there, you can either restore using regedit and the /s switch, or simply right-click on the file and select the top “Merge” option.