hanging on logout, can't background client

Phil Edwards pedwards at disaster.jaj.com
Thu Oct 25 02:42:25 EST 2001


On Wed, Oct 24, 2001 at 03:59:29PM +0200, Markus Friedl wrote:
> why don't you start the xterm with
> 	$ ssh -f host xterm

Because I'm not simply getting an xterm.

    linuxclient%  ssh solarisserver
    solarisserver%  xauth nextract .....
    solarisserver%  /bin/su -
    solarisserver#  xauth nmerge ....
    solarisserver#  DISPLAY=solarisserver:N xterm ....... &
[root's xterm appears]
    solarisserver#  exit
    solarisserver%  [maybe do some more work as me]
    solarisserver%  exit
[linuxclient hangs, I hit ~&, root's xterm continues to run]
    linuxclient%

This way, I have a root shell on the server I'm sysadmining, it's running in
a terminal emulator that I know and trust (xterm), it's securely tunnelled,
and I still have the use of the local (linuxclient) terminal I used to
start the whole thing.

-f won't do that for me.  I didn't mention all this in my original message
because I didn't want to arbitrarily complicate things.

Unfortunately, OpenSSH denies me the use of ~&, which I consider a bug.
It also denies me the use of /any other escape sequence/, which I consider
a serious bug.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the openssh-unix-dev mailing list