Snapshot

Pekka Savola pekkas at netcore.fi
Mon Oct 2 22:33:24 EST 2000


On Mon, 2 Oct 2000, Damien Miller wrote:
> > This is a bit buggy;  scp w/ SSH2 will now cause abrupt ending of scp
> > transfers:
> >
> > pekkas at netcore.fi's password: 
> > log.c                100%
> > |*********************************************************|  5194 00:00 
> > Connection to netcore.fi closed by remote host.
> 
> Most frustrating.
> 
> Markus, what do you recommend? On Linux (and other systems) background 
> processes will hold their fd 0,1,2 open and sshd will get get stuck in 
> serverloop{2}. 
> 
> There is a hack in the portable version for SSH1 which breaks out of 
> serverloop after a SIGCHLD and one pass through the 
> wait_until_can_do_something() select. I have tried a hack for SSH2 
> which breaks out of serverloop2 if a SIGCHLD has been received and
> there are no active sessions left, but this causes the above problem 
> with scp over ssh2.

As a matter of fact, it'd seem that all SSH2 sessions get the same
'closed by remote host' message, not just scp.

-- 
Pekka Savola                 "Tell me of difficulties surmounted, 
Pekka.Savola at netcore.fi      not those you stumble over and fall"






More information about the openssh-unix-dev mailing list