Hello, I am using RedHat's most recent openssh-2.20p1-5 srpm recompiled on Linuxppc under glibc 2.1.95/Linux 2.4-test10pre2/gcc 2.95.3(cvs). I have noticed an oddity when connecting to machines running ssh 2.3.0's sshd2 server. While the connections occur with no problem after awhile the connection fails when idle with the following error message... Hm, dispatch protocol error: type 20 plen 136 Any idea why this is happening? Please e-mail responses to howarth at bromo.med.uc.edu since I don't read this list much. Jack ps Oh, is the problem with ssh 2.3.0 ssh2 clients connecting to openssh going to be fixed soon or do we have to wait for a fix in ssh v2.3.x?
On Sat, 14 Oct 2000, Jack Howarth wrote:> Hello, > I am using RedHat's most recent openssh-2.20p1-5 srpm recompiled > on Linuxppc under glibc 2.1.95/Linux 2.4-test10pre2/gcc 2.95.3(cvs). > I have noticed an oddity when connecting to machines running ssh > 2.3.0's sshd2 server. While the connections occur with no problem > after awhile the connection fails when idle with the following > error message... > > Hm, dispatch protocol error: type 20 plen 136 > > Any idea why this is happening? Please e-mail responses to > howarth at bromo.med.uc.edu since I don't read this list much.Is there a masquerading firewall or other NAT device between the two hosts? You may be a victim of NAT timeouts.> ps Oh, is the problem with ssh 2.3.0 ssh2 clients connecting > to openssh going to be fixed soon or do we have to wait for > a fix in ssh v2.3.x?Have you tried the snapshot at http://www.mindrot.org/misc/openssh -d -- | ``The power of accurate observation is | Damien Miller <djm at mindrot.org> | commonly called cynicism by those who | @Work <djm at ibs.com.au> | have not got it'' - George Bernard Shaw | http://www.mindrot.org
On Sat, 14 Oct 2000, Jack Howarth wrote:> Hello, > I am using RedHat's most recent openssh-2.20p1-5 srpm recompiled > on Linuxppc under glibc 2.1.95/Linux 2.4-test10pre2/gcc 2.95.3(cvs). > I have noticed an oddity when connecting to machines running ssh > 2.3.0's sshd2 server. While the connections occur with no problem > after awhile the connection fails when idle with the following > error message... > > Hm, dispatch protocol error: type 20 plen 136 > > Any idea why this is happening?The "awhile" will be exactly an hour from the start of the session, regardless of whether it's idle. The problem is that ssh-2.3.0 implements session re-keying, and OpenSSH does not. The default rekey interval is 1 hour, and the OpenSSH client dies when it gets the rekey request. The rekey is not optional (the client can't refuse to do it), so until OpenSSH does rekeying, the only way to avoid this is to turn off rekeying in the server: set RekeyIntervalSeconds to 0. -- Richard Silverman slade at shore.net