[Nix-dev] [PATCH] Make `build-remote.pl' work with GNU lshd

Eelco Dolstra e.dolstra at tudelft.nl
Mon Dec 12 16:00:08 CET 2011


On 09/12/11 18:24, Ludovic Courtès wrote:

> Eelco Dolstra <e.dolstra at tudelft.nl> skribis:
> 
>> No, it doesn't: try "ssh host sleep 10000", kill ssh, and observe that the
>> "sleep" command continues to run on the remote host.
>>
>> If you use "ssh -tt", then a SIGHUP is sent to the remote processes, but this
>> causes problems with connection sharing on some platforms.
> 
> OK, I see.
> 
> Any suggestions to move forward?  :-)

Maybe find out why you don't get EOF with lshd.  Could you check what happens
with the parent lshd process if the connection goes down?  With opensshd, the
parent exits.  Maybe with lshd it keeps running.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list