hanging on logout, can't background client

Ed Phillips ed at UDel.Edu
Thu Oct 25 01:11:47 EST 2001


On Wed, 24 Oct 2001, Markus Friedl wrote:

> Date: Wed, 24 Oct 2001 15:59:29 +0200
> From: Markus Friedl <markus at openbsd.org>
> To: Phil Edwards <pedwards at disaster.jaj.com>
> Cc: openssh-unix-dev at mindrot.org
> Subject: Re: hanging on logout, can't background client
>
> why don't you start the xterm with
> 	$ ssh -f host xterm
>
> see ssh(1)
>
>      -f      Requests ssh to go to background just before command execution.
>              This is useful if ssh is going to ask for passwords or passphras-
>              es, but the user wants it in the background.  This implies -n.
>              The recommended way to start X11 programs at a remote site is
>              with something like ssh -f host xterm.

Right... but what you get currently when you do that is an abandoned ssh
on the client (and an abandoned sshd on the server) that you have to go
find and kill later.  I've been running things like this without "-f" or
"-n" so that I can avoid losing track of the processes that need to be
killed, at the expense of having an extra xterm running on the client.

	Ed

Ed Phillips <ed at udel.edu> University of Delaware (302) 831-6082
Systems Programmer III, Network and Systems Services
finger -l ed at polycut.nss.udel.edu for PGP public key




More information about the openssh-unix-dev mailing list