Unix True 64 - "Protocol error" with ssh 3.2 and TCP Wrapper 7.6

This is Interesting: Free IT Magazines  
Home > Archive > Unix True 64 > January 2004 > "Protocol error" with ssh 3.2 and TCP Wrapper 7.6





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author "Protocol error" with ssh 3.2 and TCP Wrapper 7.6
baechi

2004-01-23, 6:40 pm


Tru64 V5.1B Patchkit 1

ssh 3.2

tcp wrapper 7.6





If I try to connect I get "'Bad packet length" error:



auth.log

Sep 11 09:39:38 ttcalpha1 sshd2[460745]: Starting daemon in inetd mode.

Sep 11 09:39:38 ttcalpha1 sshd2[460745]: connection from "172.20.65.21"

Sep 11 09:39:39 ttcalpha1 sshd2[460745]: Daemon is running.

Sep 11 09:39:45 ttcalpha1 sshd2[460745]: WARNING:
ssh_user_validate_kerberos_password: uc not krb

Sep 11 09:39:45 ttcalpha1 sshd2[460745]: User root's local
password accepted.

Sep 11 09:39:45 ttcalpha1 sshd2[460745]: Password authentication for
user root accepted.

Sep 11 09:39:45 ttcalpha1 sshd2[460745]: User root, coming from
lareunion.ttc.trivadis.com, authenticated.

Sep 11 09:39:45 ttcalpha1 sshd2[460745]: Remote host disconnected: Bad
packet length 875620850.

Sep 11 09:39:45 ttcalpha1 sshd2[460745]: Protocol error in remote: 'Bad
packet length 875620850.'



inetd.conf

ssh2 stream tcp nowait root /usr/sbin/tcpd sshd2 -i

ssh stream tcp nowait root /usr/sbin/tcpd sshd2
-i



hosts.allow

sshd2: ALL



tcpdchk and tcpdmatch report no error.

sshd-check-conf root@lareunion is ok.



Even if I start sshd2 from inetd.conf without tcpd (ssh2 stream tcp
nowait root /usr/sbin/sshd2 sshd2 -i) I got the same error.

Do I miss some configuration parameters or is there a bug in ssh if
running from inetd.conf?

ssh without inetd.conf works fine.



Any ideas?



Regards

Markus



I would like to use the ssh version which is included in tru64
distribution, which is not compiled with '--with-libwrap'


--
Posted via http://mcse.ms
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com