Generally I use
ssh from an
urxvt terminal window running
log into other machines. But since the title of all my
defaults to “Shell”, it can get confusing.
To set the terminal windows’ title, I use the following command from the shell running in the terminal;
This sets both the window title to the content of the
$HOST environment variable.
If you use a window manager that can iconify windows, you should start the
\033]0; instead. That will change both the window title and
the icon name.
For comments, please send me an e-mail.