我安装了UBUNTU 7.10 服务器的 SSH,连接时却出错

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
andygz
帖子: 38
注册时间: 2007-10-05 13:50

我安装了UBUNTU 7.10 服务器的 SSH,连接时却出错

#1

帖子 andygz » 2007-10-25 17:01

我安装了UBUNTU 7.10 服务器的 SSH,在UBUNTU 7.10的桌面版的终端连接时出现如下错误,请问是什么原因?
andy@andy-desktop:~$ ssh andy@192.168.100.249
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
07:78:d6:a6:24:b3:84:5a:68:99:5b:d3:a3:9f:60:03.
Please contact your system administrator.
Add correct host key in /home/andy/.ssh/known_hosts to get rid of this message.
Offending key in /home/andy/.ssh/known_hosts:1
RSA host key for 192.168.100.249 has changed and you have requested strict checking.
Host key verification failed.
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#2

帖子 bones7456 » 2007-10-25 17:04

认证错误,估计是服务器端重装过系统导致,ssh发现现在的服务器和以前的服务器不一样了,出于安全的原因不让你登录.
解决办法:删除本机的 /home/andy/.ssh/known_hosts 文件,或者只删那文件的第一行也成.
好运 :lol:
关注我的blog: ε==3
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#3

帖子 bones7456 » 2007-10-25 17:10

不是7.10 的bug,所以挪到这里.
关注我的blog: ε==3
andygz
帖子: 38
注册时间: 2007-10-05 13:50

#4

帖子 andygz » 2007-10-26 11:46

可我却找不到本机的 /home/andy/.ssh/known_hosts 文件。请问怎么找??
plasma2006
帖子: 466
注册时间: 2006-10-19 9:17

#5

帖子 plasma2006 » 2007-11-15 16:48

把andy换成你自己的计算机名字
回复