WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

  • 最近更新2017年03月28日

如果你在使用ssh连接你的服务器,出现了如下情况:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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 a host key has just been changed.

The fingerprint for the RSA key sent by the remote host is

SHA256:7FeeOi0AWDrG83jPymg2XP+XRCLDZMqZNNBtPl62FoA.

Please contact your system administrator.

Add correct host key in /Users/lixh/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /Users/lixh/.ssh/known_hosts:6

RSA host key for 192.168.0.107 has changed and you have requested strict checking.

Host key verification failed.

 

说明你曾经连接过这台服务器,只是IP一样服务器却是两台截然不同的机器。如果想让你的ssh能够连接,那我们就要删除本机的“known_hosts”文件,因为我的机器是苹果系统,所以路径是:“/Users/lixh/.ssh/known_hosts”(Linux操作系统路径为:“ /root/.ssh/known_hosts”),删除即可。

 

 

 

分享到 :
05-在线安装LNMP
上一篇 2016-08-28
CentOS网卡开机自启
2016-08-28 下一篇
相关推荐

发表回复

登录... 后才能评论