WARNING POSSIBLE DNS SPOOFING DETECTED

来源:互联网 发布:linux权威指南 编辑:程序博客网 时间:2024/06/05 06:57
实这是客户机问题,与SSH服务器无关,只需把.ssh目录下的文件删除即可。下次使用ssh时文件会重建的。
出现这问题的原因一般是同一主机使用了不同的用户名登陆。(如果多个域名和多个IP同时指向同一主机,ssh仍然视为不同主机。)
fuc@A8:/$ ssh www.163.net -l fuc@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@WARNING:POSSIBLEDNSSPOOFING DETECTED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@The RSA host key for www.163.net has changed,and the key for the according IP address 158.252.167.117is unknown. This could either mean thatDNSSPOOFING is happening or the IP address for the hostand its host key have changed at the same time.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT ISPOSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Someone could be eavesdropping on you right now (man-in-the-middle attack)!It is alsopossible that the RSA host key has just been changed.The fingerprint for the RSA key sent by the remote host is11:8e:a8:b4:91:95:8b:15:82:b8:71:de:a7:c1:c0:aa.Please contact your system administrator.Add correct host key in /home/fuck/.ssh/known_hosts to get rid of this message.Offending key in /home/fuck/.ssh/known_hosts:1RSA host key for www.163.net has changed and you have requested strict checking.Host key verification failed.
 
fuck@A8:/$ cd ~fuck@A8:~$ cd .ssh/fuck@A8:~/.ssh$ lsknown_hostsfuck@A8:~/.ssh$ rm known_hosts


再ssh一次就可以了!
以上是Linux的方法。
Windows下面也是大致相同,都是要找到.ssh文件夹。
0 0
原创粉丝点击