ignoring SIGPIPE causing problems in pipes

Markus Friedl markus.friedl at informatik.uni-erlangen.de
Thu May 24 21:03:01 EST 2001


On Wed, May 23, 2001 at 03:42:15PM -0400, Ed L Cashin wrote:
> Ed L Cashin <ecashin at terry.uga.edu> writes:
> 
> [ssh ignores SIGPIPE in a pipe situation]
> 
> Hi.  Did I post to the wrong list?  The openssh ssh client from
no.

> version 2.9p1 is ignoring the PIPE signal when it shouldn't be, namely
> when it's piping output to a utility like restore.
> 
> Commenting out a line in clientloop.c fixes it.  

i'm not sure about this 'fix', it could break all
kinds of forwarding.

> What is the status of this bug, and is there a better forum for
> discussing it?

i cannot reproduce your bug, ssh exits on my systems.

do you have any ssh -v -v -v traces for the hanging ssh?



More information about the openssh-unix-dev mailing list