Hadoop集群免密码登陆 出现 SSH的 The authenticity of host xxx.xxx.xxx.xxx can't be established. 问题

安装hadoop官方文档设置免密码登陆

If you cannot ssh to localhost without a passphrase, execute the following commands:

  $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
  $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

登陆是出现  

The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is 69:fb:9e:7f:dd:15:86:d1:95:d3:e9:b5:cf:88:98:e9.

Are you sure you want to continue connecting (yes/no)?

解决方案,关闭zhu'j检查功能

执行ssh  -o StrictHostKeyChecking=no  yyy.yyy.yyy.yyy,就可以了。yyy.yyy.yyy.yyy是本地机器的IP地址

你可能感兴趣的:(linux)