[plug] Debian sshd config
Nathan Alberti
nathan at nathanalberti.com
Mon Mar 3 18:19:09 WST 2003
Great, works like a charm :)
if [ $TERM = xterm ]
then
echo -n "^[]0;$USER@`hostname`^G"
echo -n "^[]1;`hostname`^G"
fi
Cheers Matt
Nathan.
On Mon, 3 Mar 2003, Matt Kemner wrote:
> On Mon, 3 Mar 2003, quoth Nathan Alberti:
>
> > I have just configured some new servers with debian and on establishing an
> > ssh session the title bar in konsole does not update with the hostname of
> > the box I have established a session to. for example, open a konsole
> > session, the titlebar says nathan at workstation, ssh to serverx and login,
> > title bar becomes nathan at serverx.
>
> Add something like this to your /etc/profile or .bashrc on the
> remote servers:
>
> if [ $TERM = rxvt ]
> then
> echo -n "^[]0;$USER@`hostname -f`^G"
> echo -n "^[]1;`hostname`^G"
> fi
>
> (change the TERM test to whatever konsole sets the TERM to)
>
> use "control-v esc" to create ^[ and "control-v control-g" to create ^G
>
> HTH
>
> - Matt
>
>
More information about the plug
mailing list