Putty problem

Posted on 2011-05-09
Last Modified: 2013-11-15
i have a small issue but major issue for me

The putty window title is deafults to one ip address  when ever i open a new session.
I need to change the window title again and again.

Is there any process to change the window title defaults to my hostname or ipaddress of current session.

Changing every time the window title is becoming an issue for me.  Can you please help me on this.

The problem occurs when i installed a putty. Previously, it is not like that.

This is on Windows operating system.

Help me plz...
Question by:gopisera
    LVL 7

    Expert Comment

    You should be able to save the Sessions...  Pease provide a screen shot of your putty.
    LVL 76

    Expert Comment

    The change in the name is a function of the shell which issues the "control" set that updates the title of the window?  What is the issue that the change in title creates?
    LVL 23

    Accepted Solution

    By default, PuTTY only uses the server-supplied window title, and ignores the icon title entirely. If for some reason you want to see both titles, check the box marked ‘Separate window and icon titles’. If you do this, PuTTY's window title and Taskbar caption will change into the server-supplied icon title if you minimise the PuTTY window, and change back to the server-supplied window title if you restore it. (If the server has not bothered to supply a window or icon title, none of this will happen.)

    LVL 3

    Assisted Solution


    If i opened serveral window.  It will be difficult if it is of same name.      Previously, it will be of ipaddress of the server.
    Right, now it is of constant ipaddress.

    Please see the screen shot...

    Any different servers i opened.  It will show the same ipaddress.

    Every time, i have to go to the settings and need to change to the current ipadreess..  Big hell..

    Help me on this please

    LVL 76

    Expert Comment

    You can use screen if that is an option i.e. connect to one server and then use screen to create connections to the other servers.  ctrl-A lets you set the screen's Name.

    The thing that works,
    PROMPT_COMMAND='echo -ne "\033]0;"myWindowTitle"\007"'

    The problem is if the shell to which you jump is not bash, or the data does not come back.
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}"; echo -ne "\007"'

    LVL 3

    Author Closing Comment

    The answer helped me in finding out the solution for my question indirectly.


    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
    I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
    The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
    This video shows how use content aware, what it’s used for, and when to use it over other tools.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now