我Ubuntu无发远程SSH连接的到Ubuntu服务器?怎么纠正?

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
wangzc2009
帖子: 319
注册时间: 2009-01-30 18:18
来自: 湖北十堰

我Ubuntu无发远程SSH连接的到Ubuntu服务器?怎么纠正?

#1

帖子 wangzc2009 » 2009-03-07 15:16

root@sikao-laptop:~# ssh root@IP地址
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
da:ed:0f:40:d8:ea:10:c2:95:31:6e:71:99:60:42:6d.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for IP地址 has changed and you have requested strict checking.
Host key verification failed.

我在服务器上装了SSHD,windows下用putty_PConline输入用户名密码可以登录。但是我Ubuntu下却不能登录,上面为错误提示。要怎么纠正呢?

不好意思,把IP地址都隐藏用"IP地址"来代替
愿意同大家一起学习分享linux知识
mobilesuit
帖子: 39
注册时间: 2008-05-22 10:51

Re: 我Ubuntu无发远程SSH连接的到Ubuntu服务器?怎么纠正?

#2

帖子 mobilesuit » 2009-03-08 1:57

你原来ssh过这个主机吧,把那个主机里边/.ssh/known_hosts的你登陆过的ssh key删除就可以了
回复