The ECDSA host key for XXX has changed

Posted 代码空间

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The ECDSA host key for XXX has changed相关的知识,希望对你有一定的参考价值。

运行Hadoop时出现了:

导致运行失败。仔细分析后发现,这是因为以前192.168.1.201的主机名为master,后来把192.168.1.202改名为master,由于两台主机的公钥不一样,所以提示DNS欺骗(网络中有主机冒充master),或者master的IP地址和公钥同时改变了。

解决的办法是将/home/${username}/.ssh/known_hosts中master的公钥删除掉就正常了。

以上是关于The ECDSA host key for XXX has changed的主要内容,如果未能解决你的问题,请参考以下文章

The ECDSA host key for XXX has changed

开发工具的那些故事Offending ECDSA key in ../.ssh/known_hosts:1ECDSA host key for ip has changed and you ha

开发工具的那些故事Offending ECDSA key in ../.ssh/known_hosts:1ECDSA host key for ip has changed and you ha(代码

ssh登录错误ECDSA host key for 10.10.10.10 has changed

ECDSA host key for 192.168.0.101 has changed and you have requested strict checking.

ssh login error fix solution:ECDSA host key for xxx has changed and you have