openssh 2.2, fbsd 4.2: incoming data hangs sshd on tty

mike at hyperreal.org mike at hyperreal.org
Wed Jan 3 18:43:58 EST 2001


Using the Jan 02 snapshot, and after adding the contents of
contrib/sshd.pam.freebsd to /etc/pam.conf, an out-of-the-box compile of
OpenSSH seems, upon quickly testing, to have resolved the problems I was
experiencing with sshd locking up on me.

The litmus test was always a copy/paste into an ssh client on a windows box.
Didn't matter if I was connected on the LAN or over a relatively slow DSL
link.

The new daemon seems to be throttling quite a bit. The paste takes a while to
paint on the screen, whereas before it was lightning-quick, at least until it
locked up.

Should I be concerned? A zmodem file transfer on a link that tests with bing
to get ~50 Mbps only got about 800 kbps. Seems a little slow..

I'm not complaining, though. No more crashes is good.



> mouring at etoh.eviladmin.org wrote:
> > 
> > Can you verify this against the latest snapshot at:
> > http://bass.directhit.com/openssh_snap/  
> > 
> > 2.2.0 is very old release.  Since we are on the verge (from the sounds of
> > it from Markus) of 2.4.0 release.
> > 
> > - Ben
> > 
> > On Mon, 25 Dec 2000 mike at hyperreal.org wrote:
> > 
> > > I wrote:
> > > > sshd, specifically the forked sshd process that is attached to a terminal
> > > > when a connection is made, tends to freeze when receiving data over the link.
> > > > The only way out is to kill -9 this process. It is easily reproducible by
> > > > pasting text into an editor.
> > > 
> > > With the help of someone who advised me to run ktrace on the sshd process
> > > that freezes, I have narrowed down the circumstances under which the problem
> > > is reproducible, and I discovered that sshd does receive a little bit more
> > > data from the paste than I get to see coming back from the editor.

[rest snipped]


   - Mike
________________________________________________________________________
 Mike Brown / Hyperreal   |   Hyperreal http://music.hyperreal.org/
 PO Box 61334             |   XML & XSL http://skew.org/xml/
 Denver CO 80206-8334 USA |    personal http://www.hyperreal.org/~mike/






More information about the openssh-unix-dev mailing list