BUG: ssh hangs on full stdout-file-system

Markus Friedl markus at openbsd.org
Fri Sep 27 05:47:42 EST 2002


yes, it's different in protcol 1 

On Thu, Sep 26, 2002 at 04:56:34PM +0200, Thomas Binder wrote:
> Hi!
> 
> On Wed, Sep 25, 2002 at 09:46:21PM +0200, Markus Friedl wrote:
> > On Tue, Sep 24, 2002 at 06:01:41PM +0200, Olaf Rogalsky wrote:
> > what happens if you
> > # ssh remote.server.org "tar -cz /home" | cat > /backup/remote.tar.gz
> 
> FWIW, I could reproduce the problem, but only with protocol
> version 2:
> 
> $ ssh -2 sub2 tar cf - . | head | wc
>      10      58    1294
> [hangs]
> 
> Using ssh -1, ssh does not hang:
> 
> $ ssh -1 sub2 tar cf - . | head | wc
>      10      58    1294
> Write failed flushing stdout buffer.
> write stdout: Broken pipe
> 
> Stuff related to channel 0 from ssh -2 -v -v -v:
> 
> debug1: channel 0: new [client-session]
> debug3: ssh_session2_open: channel_new: 0
> debug1: send channel open 0
> debug1: channel request 0: x11-req
> debug1: channel request 0: exec
> debug1: channel 0: open confirm rwindow 0 rmax 32768
> debug2: channel 0: rcvd adjust 131072
> debug1: channel 0: write failed
> debug1: channel 0: close_write
> debug1: channel 0: output open -> closed
> 
> HTH.
> 
> 
> Ciao
> 
> Thomas
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev



More information about the openssh-unix-dev mailing list