From owner-freebsd-questions Fri Sep 7 1:14:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from Bayou.UH.EDU (Bay.UH.EDU [129.7.235.4]) by hub.freebsd.org (Postfix) with ESMTP id 75E1037B405 for ; Fri, 7 Sep 2001 01:14:17 -0700 (PDT) Received: from GINGER (Ginger.EE.UH.EDU [129.7.205.63]) by Bayou.UH.EDU (8.11.6/8.11.6) with SMTP id f878EGg1071988 for ; Fri, 7 Sep 2001 03:14:16 -0500 (CDT) Message-ID: <001601c13774$f540c040$3fcd0781@ee.uh.edu> From: "qxu" To: Subject: still about SSh configuration Date: Fri, 7 Sep 2001 03:13:21 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C1374B.0C53D4E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C1374B.0C53D4E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Seems nobody answer my q.=20 I continue work on this but still no progress. Hope someone will help. I have install freebsd4.1.1 on two boxes. The ssh is automatically = installed. The network is fine. I can ping each other. Also I put sshd_enable=3D"YES" in the rc.conf. But I can not even ssh = localhost.=20 There are also two old freebsd boxes(also 4.1.1) left by other people, = I can ssh one from the new boxes.=20 But can not ssh the new boxes from the old boxes.=20 sshd_config and ssh_config are all the same in the 4 boxes. I can not find where the configuration is different from the old boxes. old boxes ---------squid1.my.com , squid2.my.com new boxes -------squid3.my.com , squid4.my.com use ps aux | grep sshd, I can see sshd is there. Here is the output of ssh -v from old and new boxes On the new boxes ssh -v localhost=20 ssh -v squid1.my.com=20 SSH Version OpenSSH-2.1, protocol versions 1.5/2.0. Compiled with SSL (0x0090581f). debug: Reading configuration data /etc/ssh/ssh_config debug: ssh_connect: getuid 0 geteuid 0 anon 0 debug: Connecting to localhost.my.domain [127.0.0.1] port 22. debug: Allocated local port 1006. debug: Connection established. debug: Remote protocol version 1.99, remote software version OpenSSH-2.1 debug: Local version string SSH-1.5-OpenSSH-2.1 debug: Waiting for server public key. debug: Received server public key (768 bits) and host key (1024 bits). debug: Forcing accepting of host key for loopback/localhost. debug: Encryption type: 3des debug: Sent encrypted session key. debug: Installing crc compensation attack detector. debug: Received encrypted confirmation. debug: Trying Kerberos V5 authentication. On the old boxes ssh -v squid1.my.com=20 SSH Version OpenSSH-2.1, protocol versions 1.5/2.0. Compiled with SSL (0x0090581f). debug: Reading configuration data /etc/ssh/ssh_config debug: ssh_connect: getuid 0 geteuid 0 anon 0 debug: Connecting to squid1.my.com [10.12.0.1] port 22. debug: Allocated local port 1023. debug: Connection established. debug: Remote protocol version 1.99, remote software version OpenSSH-2.1 debug: Local version string SSH-1.5-OpenSSH-2.1 debug: Waiting for server public key. debug: Received server public key (768 bits) and host key (1024 bits). debug: Host 'squid1.my.com' is known and matches the RSA host key. debug: Encryption type: 3des debug: Sent encrypted session key. debug: Installing crc compensation attack detector. debug: Received encrypted confirmation. debug: Trying RSA authentication with key 'root@squid2.my.com' debug: Server refused our key. debug: Doing password authentication. but when I enter the pass here it is frozen there and then because of = timeout the connection is down. Who can tell me the reason? It is so weird. Thank you. Xu,Qiang ------=_NextPart_000_0013_01C1374B.0C53D4E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Seems nobody answer my q.
I continue work on this but still no progress. Hope someone will=20 help.
 
I have install freebsd4.1.1 on two = boxes. The ssh=20 is automatically installed. The = network is fine.=20 I can ping each other.
Also I put sshd_enable=3D"YES" in the = rc.conf. But=20 I can not = even ssh=20 localhost.
 
There are also two old  freebsd = boxes(also=20 4.1.1) left by other people, I can ssh one from the new boxes. =
But can not ssh the new boxes from the = old boxes.=20
 
sshd_config and ssh_config are all the same in the 4 boxes.
I can not find where the configuration = is different=20 from the old boxes.
 
 
old boxes ---------squid1.my.com , squid2.my.com
new boxes -------squid3.my.com , squid4.my.com
 
use ps aux | grep sshd, I can see sshd is there.
Here is the = output of=20 ssh -v from old and new boxes

On the new boxes
 
ssh -v localhost
 
ssh -v squid1.my.com

SSH Version OpenSSH-2.1, protocol versions 1.5/2.0.
Compiled = with=20 SSL (0x0090581f).
debug: Reading configuration data=20 /etc/ssh/ssh_config
debug: ssh_connect: getuid 0 geteuid 0 anon = 0
debug:=20 Connecting to localhost.my.domain [127.0.0.1] port 22.
debug: = Allocated local=20 port 1006.
debug: Connection established.
debug: Remote protocol = version=20 1.99, remote software version OpenSSH-2.1
debug: Local version string = SSH-1.5-OpenSSH-2.1
debug: Waiting for server public key.
debug: = Received=20 server public key (768 bits) and host key (1024 bits).
debug: Forcing = accepting of host key for loopback/localhost.
debug: Encryption type: = 3des
debug: Sent encrypted session key.
debug: Installing crc = compensation=20 attack detector.
debug: Received encrypted confirmation.
debug: = Trying=20 Kerberos V5 authentication.

On the=20 old boxes
 
ssh -v squid1.my.com
SSH Version OpenSSH-2.1, protocol versions 1.5/2.0.
Compiled = with SSL=20 (0x0090581f).
debug: Reading configuration data = /etc/ssh/ssh_config
debug:=20 ssh_connect: getuid 0 geteuid 0 anon 0
debug: Connecting to = squid1.my.com=20 [10.12.0.1] port 22.
debug: Allocated local port 1023.
debug: = Connection=20 established.
debug: Remote protocol version 1.99, remote software = version=20 OpenSSH-2.1
debug: Local version string SSH-1.5-OpenSSH-2.1
debug: = Waiting=20 for server public key.
debug: Received server public key (768 bits) = and host=20 key (1024 bits).
debug: Host 'squid1.my.com' is known and matches the = RSA=20 host key.
debug: Encryption type: 3des
debug: Sent encrypted = session=20 key.
debug: Installing crc compensation attack detector.
debug: = Received=20 encrypted confirmation.
debug: Trying RSA authentication with key 'root@squid2.my.com'
debug: = Server=20 refused our key.
debug: Doing password authentication.
but when I enter the pass here it is frozen there and then because = of=20 timeout the connection is down.
 
 
Who can tell me the reason? It is so weird.

Thank you.

Xu,Qiang

 
------=_NextPart_000_0013_01C1374B.0C53D4E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message