QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1864|回复: 0

SSH 问题求助

[复制链接]
发表于 2008-8-8 08:41:16 | 显示全部楼层 |阅读模式
rhel4.1的ssh服务器,我用windows的ssh client连接时,出现下面的提示对话框:

Either the administrator of the remote host computer has changed the host identification, or The ssh protocol has been upgraded from SSH1 to SSH2, or SOMEONE COULD BE EAVESDROPPING ON YOU RIGHT NOW (man-in-the-middle attack). It is NOT RECOMMENDED to connect to the remote host computer until you have contacted the system administrator and found out why the host identification has changed. The fingerprint of the host public key is "XXXXXXXXXXXXXXXXX"...

当我点击“是”之后,输入密码,可以看到服务器上的密码验证已通过(因为看到远程机/etc/profile已经被执行),但下面就是不出命令行。就是说,我没法执行命令,谁帮帮我?

补充说明:

1、这个问题发生在我将ssh服务器改了一个IP后,客户机ssh连不上了,重启sshd都不行。我尝试卸载了openssh-server包,并删除了/etc/ssh /etc/ssh2 /root/.ssh /root/.ssh2,重新装过openssh-server包,问题同样。

2、现在看/root下面只有.ssh2目录。ls -h -a /root/.ssh2/hostkeys,没看见我这台客户机的IP,只看见另一台的,那是一台linux机,我将它的公钥文件删除了,再连,问题还是照旧。

3、现在是所有的客户机都连不上,包括windows、linux、webmin、路由器的ssh2等等。而且,可以肯定的是,密码已经验证过关了(有提示Login & password accepted),用户profile的脚本也已经执行了,就是没命令行出来。

4、日志显示已正常登陆,session open for user ……


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-24 12:47 , Processed in 0.056717 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表