ubuntu下ssh远程登录ubuntu服务器错误,如何纠正

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
wangzc2009
帖子: 319
注册时间: 2009-01-30 18:18
来自: 湖北十堰

ubuntu下ssh远程登录ubuntu服务器错误,如何纠正

#1

帖子 wangzc2009 » 2009-03-07 20:31

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知识
boxid
帖子: 62
注册时间: 2006-08-27 7:40

Re: ubuntu下ssh远程登录ubuntu服务器错误,如何纠正

#2

帖子 boxid » 2009-03-08 1:06

把.ssh 目录里的 know_hosts 删掉
wangzc2009
帖子: 319
注册时间: 2009-01-30 18:18
来自: 湖北十堰

Re: ubuntu下ssh远程登录ubuntu服务器错误,如何纠正

#3

帖子 wangzc2009 » 2009-03-08 11:03

谢谢了,原来是这个原因啊。我看了半天都没搞懂,
愿意同大家一起学习分享linux知识
回复