大数据集群ssh登录其他机器失败 RSA host key for zb03 has changed and you have requested strict checking. Host key

Posted IT小甲鱼

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了大数据集群ssh登录其他机器失败 RSA host key for zb03 has changed and you have requested strict checking. Host key 相关的知识,希望对你有一定的参考价值。

[[email protected] .ssh]$ scp authorized_keys [email protected]:/home/hadoop/.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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
47:9e:c6:8c:ab:46:90:70:b4:0f:e6:67:53:90:c8:63.
Please contact your system administrator.
Add correct host key in /home/hadoop/.ssh/known_hosts to get rid of this message.
Offending key in /home/hadoop/.ssh/known_hosts:1
RSA host key for zb03 has changed and you have requested strict checking.
Host key verification failed.
lost connection

 

解决办法:

在.ssh目录下有一个 known_hosts文件 把这个文件删除或者改名 即可

 

以上是关于大数据集群ssh登录其他机器失败 RSA host key for zb03 has changed and you have requested strict checking. Host key 的主要内容,如果未能解决你的问题,请参考以下文章

openssh设置免密码登录远程服务器

指定Ssh指定host地址已经在其他ssh地址中添加过了

Linux免密登录理解

linux ssh免密码登录设置

ansible不使用ssh免密远程部署

集群运维ansible