免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3179 | 回复: 6
打印 上一主题 下一主题

各位大虾,求救!!!服务器无法SSH登录!! [复制链接]

求职 : Linux运维
论坛徽章:
0
1 [报告]
发表于 2007-07-09 10:35 |只看该作者
不推荐同一交换机插同一计算机的多块网卡,如果两块网卡没什么用可以作一下绑定,影响远程SSH的最主要的还是你的防火墙,两台服务器的外网IP是不是在同一子网同一VLAN下啊?

论坛徽章:
0
2 [报告]
发表于 2007-07-09 10:42 |只看该作者
我已经在交换机上划分vlan了,而且外网是直接连到交换机通外机房提代的外线出去的,那些服务器也都在同一个子网内,同一个vlan下

论坛徽章:
0
3 [报告]
发表于 2007-07-09 11:18 |只看该作者
确认一下其他可用访问方式,比如ping
如果可用,就是防火墙问题,否则是你路由的问题。

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

[ 本帖最后由 yupp 于 2007-7-9 11:20 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2007-07-09 11:52 |只看该作者
好的,我试一下,谢谢

论坛徽章:
0
5 [报告]
发表于 2007-07-09 11:58 |只看该作者
问题还是存在

论坛徽章:
0
6 [报告]
发表于 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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP