Greg Wooledge (HE12025-09-16): > 3) Add something to your shell prompt (PS1 variable) on the client > system which overwrites the terminal title every time the prompt > is displayed. > > This third one's the easiest, perhaps, but some folks might say it > lacks elegance.
It is the way it is usually done. The other solutions will have no effect when the title is changed by other things than ssh or when ssh gets suspended. Regards, -- Nicolas George

