Date: Fri, 7 Sep 2001 03:13:21 -0500 From: "qxu" <qxu2@Bayou.UH.EDU> To: <freebsd-questions@FreeBSD.ORG> Subject: still about SSh configuration Message-ID: <001601c13774$f540c040$3fcd0781@ee.uh.edu>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>Seems nobody answer my q. </FONT></DIV> <DIV>I continue work on this but still no progress. Hope someone will=20 help.</DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>I have install freebsd4.1.1 on two = boxes. The ssh=20 is automatically installed. </FONT><FONT face=3DArial size=3D2>The = network is fine.=20 I can ping each other.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Also I put sshd_enable=3D"YES" in the = rc.conf. But=20 </FONT><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2>I can not = even ssh=20 localhost. </FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>There are also two old freebsd = boxes(also=20 4.1.1) left by other people, I can ssh one from the new boxes. = </FONT></DIV> <DIV><FONT face=3DArial size=3D2>But can not ssh the new boxes from the = old boxes.=20 </FONT></DIV> <DIV> </DIV> <DIV>sshd_config and ssh_config are all the same in the 4 boxes.</DIV> <DIV><FONT face=3DArial size=3D2>I can not find where the configuration = is different=20 from the old boxes.</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV>old boxes ---------squid1.my.com , squid2.my.com</DIV> <DIV>new boxes -------squid3.my.com , squid4.my.com</DIV> <DIV> </DIV> <DIV>use ps aux | grep sshd, I can see sshd is there.<BR>Here is the = output of=20 ssh -v from old and new boxes<BR><BR></DIV> <DIV><FONT size=3D4><STRONG>On the new boxes</STRONG></FONT></DIV> <DIV> </DIV> <DIV>ssh -v localhost </DIV> <DIV> </DIV> <DIV>ssh -v squid1.my.com </DIV> <DIV><BR>SSH Version OpenSSH-2.1, protocol versions 1.5/2.0.<BR>Compiled = with=20 SSL (0x0090581f).<BR>debug: Reading configuration data=20 /etc/ssh/ssh_config<BR>debug: ssh_connect: getuid 0 geteuid 0 anon = 0<BR>debug:=20 Connecting to localhost.my.domain [127.0.0.1] port 22.<BR>debug: = Allocated local=20 port 1006.<BR>debug: Connection established.<BR>debug: Remote protocol = version=20 1.99, remote software version OpenSSH-2.1<BR>debug: Local version string = SSH-1.5-OpenSSH-2.1<BR>debug: Waiting for server public key.<BR>debug: = Received=20 server public key (768 bits) and host key (1024 bits).<BR>debug: Forcing = accepting of host key for loopback/localhost.<BR>debug: Encryption type: = 3des<BR>debug: Sent encrypted session key.<BR>debug: Installing crc = compensation=20 attack detector.<BR>debug: Received encrypted confirmation.<BR>debug: = Trying=20 Kerberos V5 authentication.<BR><BR><FONT size=3D4><STRONG>On the=20 old boxes</STRONG></FONT></DIV> <DIV> <DIV> </DIV> <DIV>ssh -v squid1.my.com </DIV></DIV> <DIV>SSH Version OpenSSH-2.1, protocol versions 1.5/2.0.<BR>Compiled = with SSL=20 (0x0090581f).<BR>debug: Reading configuration data = /etc/ssh/ssh_config<BR>debug:=20 ssh_connect: getuid 0 geteuid 0 anon 0<BR>debug: Connecting to = squid1.my.com=20 [10.12.0.1] port 22.<BR>debug: Allocated local port 1023.<BR>debug: = Connection=20 established.<BR>debug: Remote protocol version 1.99, remote software = version=20 OpenSSH-2.1<BR>debug: Local version string SSH-1.5-OpenSSH-2.1<BR>debug: = Waiting=20 for server public key.<BR>debug: Received server public key (768 bits) = and host=20 key (1024 bits).<BR>debug: Host 'squid1.my.com' is known and matches the = RSA=20 host key.<BR>debug: Encryption type: 3des<BR>debug: Sent encrypted = session=20 key.<BR>debug: Installing crc compensation attack detector.<BR>debug: = Received=20 encrypted confirmation.<BR>debug: Trying RSA authentication with key <A=20 href=3D"mailto:'root@squid2.my.com'">'root@squid2.my.com'</A><BR>debug: = Server=20 refused our key.<BR>debug: Doing password authentication.<BR></DIV> <DIV>but when I enter the pass here it is frozen there and then because = of=20 timeout the connection is down.</DIV> <DIV> </DIV> <DIV> </DIV> <DIV>Who can tell me the reason? It is so weird.</DIV> <DIV><BR>Thank you.<BR><BR>Xu,Qiang<BR><BR></DIV> <DIV> </DIV></FONT></DIV></BODY></HTML> ------=_NextPart_000_0013_01C1374B.0C53D4E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001601c13774$f540c040$3fcd0781>