BUG: ssh hangs on full stdout-file-system
Markus Friedl
markus at openbsd.org
Fri Sep 27 00:23:04 EST 2002
i think this a know bug. the same happens with
ssh -vv 127.0.0.1 od /bin/ls < /dev/null | (sleep 1; exit 1)
not sure how to fix this.
On Thu, Sep 26, 2002 at 03:16:49PM +0200, Olaf Rogalsky wrote:
> Markus Friedl wrote:
> >
> > On Thu, Sep 26, 2002 at 02:34:20PM +0200, Olaf Rogalsky wrote:
> > > Markus Friedl wrote:
> > > > i think it's because ssh still can read from the stdin
> > > >
> > > > what happens if you do this:
> > > >
> > > > # ssh -n remote.server.org "tar -cz /home" > /backup/remote.tar.gz
> > > Unfortunately still hanging.
> > >
> > > The next thing I did, was looking at source and running ssh with
> > > option "-vv" (should have done this long before :-). This is the relavant
> > > message:
> > >
> > > debug1: channel 0: write failed
> >
> > can you please send all debugging messages related to channel 0 ?
> debug1: channel 0: new [client-session]
> debug1: channel 0: open confirm rwindow 0 rmax 32768
> debug2: channel 0: rcvd adjust 131072
> debug2: channel 0: window 57344 sent adjust 73728
> debug1: channel 0: write failed
> debug1: channel 0: close_write
> debug1: channel 0: output open -> closed
>
> and after hitting ^C:
> debug1: channel_free: channel 0: client-session, nchannels 1
>
> --
> +----------------------------------------------------------------------+
> I Dipl. Phys. Olaf Rogalsky Institut f. Theo. Physik I I
> I Tel.: 09131 8528440 Univ. Erlangen-Nuernberg I
> I Fax.: 09131 8528444 Staudtstrasse 7 B3 I
> I rogalsky at theorie1.physik.uni-erlangen.de D-91058 Erlangen I
> +----------------------------------------------------------------------+
> _______________________________________________
> 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