Chinaunix

标题: 各位大虾,求救!!!服务器无法SSH登录!! [打印本页]

作者: tsadmin    时间: 2007-07-09 10:35
不推荐同一交换机插同一计算机的多块网卡,如果两块网卡没什么用可以作一下绑定,影响远程SSH的最主要的还是你的防火墙,两台服务器的外网IP是不是在同一子网同一VLAN下啊?
作者: zhaoyingfei    时间: 2007-07-09 10:42
我已经在交换机上划分vlan了,而且外网是直接连到交换机通外机房提代的外线出去的,那些服务器也都在同一个子网内,同一个vlan下
作者: yupp    时间: 2007-07-09 11:18
确认一下其他可用访问方式,比如ping
如果可用,就是防火墙问题,否则是你路由的问题。

还有要注意两个网络是不是存在相同IP,避免访问错误的目标机器。

[ 本帖最后由 yupp 于 2007-7-9 11:20 编辑 ]
作者: zhaoyingfei    时间: 2007-07-09 11:52
好的,我试一下,谢谢
作者: zhaoyingfei    时间: 2007-07-09 11:58
问题还是存在
作者: zhaoyingfei    时间: 2007-07-09 12:10
刚刚找到了一篇文章,照 着试了一下,结果发现我用putty可以登录,但是进去之后运行命令和敲命令有很大延迟,用SSHSecureShellClient-3.2.9就不能登录,登录事件分别是
putty:
         2007-07-09 11:53:53        Looking up host "211.105.112.11"
2007-07-09 11:53:53        Connecting to 211.105.112.11 port 22
2007-07-09 11:53:53        Server version: SSH-1.99-OpenSSH_3.9p1
2007-07-09 11:53:53        We claim version: SSH-1.5-PuTTY-Release-0.53b
2007-07-09 11:53:53        Using SSH protocol version 1
2007-07-09 11:53:53        Received public keys
2007-07-09 11:53:53        Host key fingerprint is:
2007-07-09 11:53:53              1024 6a:4a:aa:0e:97:65:e3:f5:6f:91:41:e5:94:10:3a:bd
2007-07-09 11:53:53        Encrypted session key
2007-07-09 11:53:53        AES not supported in SSH1, skipping
2007-07-09 11:53:53        Using Blowfish encryption
2007-07-09 11:53:53        Trying to enable encryption...
2007-07-09 11:53:53        Initialised Blowfish encryption
2007-07-09 11:54:00        Installing CRC compensation attack detector
2007-07-09 11:54:00        Successfully started encryption
2007-07-09 11:54:04        Sent username "root"
2007-07-09 11:54:21        Sending password with camouflage packets
2007-07-09 11:54:21        Sent password
2007-07-09 11:54:21        Authentication successful
2007-07-09 11:54:21        Allocated pty
2007-07-09 11:54:21        Started session


SSHSecureShellClient-3.2.9:K:\>ssh2 -v  root@211.105.112.11
debug: Ssh2: License file not found, certificates & smart cards disabled.
debug: Ssh2: User config file not found, using defaults. (Looked for 'C:/Docume
ts and Settings/yzhao.VDO/Application Data/SSH/ssh2_config')
debug: Connecting to 211.105.112.11, port 22... (SOCKS not used)
debug: Ssh2Transport: My version: SSH-1.99-3.2.9 SSH Secure Shell Windows Clien

debug: client supports 2 auth methods: 'publickey,password'
debug: Ssh2Common: local ip = 172.25.16.71, local port = 3078
debug: Ssh2Common: remote ip = 211.105.112.11, remote port = 22
debug: SshConnection: Wrapping...
debug: Remote version: SSH-1.99-OpenSSH_3.9p1
debug: OpenSSH: Major: 3 Minor: 9 Revision: 0
debug: Ssh2Transport: All versions of OpenSSH handle kex guesses incorrectly.
debug: Ssh2Transport: lang s to c: `', lang c to s: `'
debug: Ssh2Transport: c_to_s: cipher aes128-cbc, mac hmac-sha1, compression non

debug: Ssh2Transport: s_to_c: cipher aes128-cbc, mac hmac-sha1, compression non

debug: Remote host key found from database.
debug: Ssh2Common: Received SSH_CROSS_STARTUP packet from connection protocol.
debug: Ssh2Common: Received SSH_CROSS_ALGORITHMS packet from connection protoco
.
debug: Ssh2Common: DISCONNECT received: Connection closed.
warning: Authentication failed.
Disconnected; connection lost (Connection closed.).
debug: Ssh2Common: Destroying SshCommon object.
debug: SshConnection: Destroying SshConn object.




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2