ITPub博客

首页 > Linux操作系统 > Linux操作系统 > WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Linux操作系统 作者:urgel_babay 时间:2016-03-01 09:58:13 0 删除 编辑
2015.01.08

[root@zhanglin4 u02]# scp exp0107.tar.gz 172.17.210.183:/orabak/dmp
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
f0:b9:39:0d:9e:6f:62:ba:b1:71:e4:52:f5:a3:cf:2f.
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:2
RSA host key for 172.17.210.183 has changed and you have requested strict checking.
Host key verification failed.
lost connection

解决办法:
[root@zhanglin4 ~]#  cat ~/.ssh/known_hosts
172.17.210.112 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA1z7xmsR/2l7ihPDco6Bdon3SgeN13MUT5qKgfkwlS0AHWMhBUQ761oi20OC+ZV0YkeachfjIF9xELFo0+wsDFyKbNaHsMoeWD8TzMCeQd8WiR6gDiky7l0mbgh6CX+jvkHG/RBCsKkHtyk/wT7JeRElRRN7hvfna639hzqxAZVmT3o9BpEFV2pjayvhl1YuJthJeSl+c3xJMmrfVmo6yy8c37+zwXqd2MbbL+nNaa3nCPC7oLeVYs5CXC4E0vuI0mYg30TDvGdcrCxW0nByVxAzeEvsD9yzwS2aZTi+RMnMq2XACP11PzMLJljGMwe5cTjjYcSLChROHDKsg63RrYQ==
172.17.210.183 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2ei4okk+hIbCPnQgJSw9EzLMWGd3s1byPrwA9/fXiRFsZatUP4CFDzmT/AdOZAlTG+lyGhRZDg5Q2mhmd+tIt8OCcImTAZMPexGxo0q5ZZCZOvv9AHL7Vu1sB6FSiXkLKfm5Fr2n2SZcZGb33lSpLXOJlt5rBF9kY1nT/Fwt5c1NAjFGpcwH+T820+NtxdX7+ZzCjmsLd7Hk2L6MRAAozq+rS3Kco9yx4na0HwTNQra0B3oZunsOn9z847zwvSEQ9g0Mb26zMFUpT3noqnftsw8sjocXAR17SYh0NyAWOJ3tXbXEk24LQccgqbblDSeqQ2xWJjGCxoawpMC0t6Ig9Q==
172.17.210.184 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtuQ8ZczO5F63dEm+CUM2AFjU9+tWnfemjY6IsM1vsvvONtXBWhJEtBhtIBzmbO2OfYT+8WD4QENtkD2GnA4unXIgUA27EqQi8gV22SdfCMFqekB47TB17mYP3kYqj5HYGIuCEVT/krhpg1/TNOVz01tOhyEUuKhObJjncnZrqgn4dsXYFhejmP67u1S0rzL03YILsAMN9TpXFZViPfPVtWJtxod3ZxwtG44/3Eqb2Ymh6wmioXPgwCBQxa37HHPGkxe/S3AFxdZkcreEMgADqKw/bvsNgGmqFkF+cW7yx/Xp0zYp2XtolZMu00NahY66zode41Jut5dIRpDwBywWLw==
[root@zhanglinbidevelop4 ~]#
把172.17.210.183 这条删掉后,保存文件即可!
这个./ssh下面保存的是你曾经ssh过的服务器的密匙文件。如果对方服务器用户的密码修改了,你本机再次ssh的时候就会对照本地保存的,看是否匹配。不匹配就会抛出错误!

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30936525/viewspace-2018406/,如需转载,请注明出处,否则将追究法律责任。

上一篇: Redis2.8.1安装部署
请登录后发表评论 登录
全部评论

注册时间:2016-02-29

  • 博文量
    203
  • 访问量
    262235