How to Set SSH PuTTY Window Title As IP Address or Hostname

Table of Contents

You use SSH Putty from your Windows PC to login to multiple remote Linux servers. So, you usually have multiple PuTTY windows on your desktop. But, by default, it shows username@hostname only.

How to Set SSH PuTTY Window Title As IP Address or Hostname

In this post, we will show you how to set PuTTY to display the hostname or IP Address of the server in the title bar. So, it’d be easy for you to choose the right PuTTY Window.

Set SSH PuTTY Title As IP Address or Hostname

1. First, open PuTTY then load a saved session.

How to Set SSH PuTTY Window Title As IP Address or Hostname

2. Next, select the Features option under the Terminal category.

3. Select the checkbox “Disable remote-controlled window title changing” to show PuTTY title as IP address or hostname.

How to Set SSH PuTTY Window Title As IP Address or Hostname

4. After changing the configuration, you need to:

  1. Select the Session category.
  2. Select the saved session in the saved session list. For example, select the vps01 session.
  3. Select the Save button in the right side.

Note

This step is very important, if you don’t select the session and click Save. The changes won’t save and the next time when you open a remote connection, everything will be reverted by default.

How to Set SSH PuTTY Window Title As IP Address or Hostname

As you can see, this time, PuTTY shows hostname or IP address of the Linux systems instead of username@hostname by default.

How to Set SSH PuTTY Window Title As IP Address or Hostname

Using Registry Editor

Alternatively, PuTTY saves its settings in Registry. So, we can change it from the Registry Editor.

1. Search for regedit then open Registry Editor.

How to Set SSH PuTTY Window Title As IP Address or Hostname

2. Navigate to the following location in Registry Editor.

HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions

3. You should see your PuTTY sessions in the left. Select on them then change the NoRemoteWinTitle DWORD value from 0 to 1.

How to Set SSH PuTTY Window Title As IP Address or Hostname

4. Once you change the value for all your sessions. Close the Registry Editor then open PuTTY and connect to a remote session to verify it works.

Leave a Comment

Required fields are marked *