ERROR: Bad owner or permissions on /home/hadoop/.ssh/config ERROR: Host key verification failed.
·
对于第一个,执行ssh-copy-id操作的时候,要去查看本地的公钥文件,文件有权限,是600,所以就要给hadoop用户加权限
怎么加?我用了两步,从Hadoop用户回到root用户修改/etc/sudoers 在“root ALL=(ALL) ALL”一行下面插入新的一行,“hadoop ALL=(ALL) ALL”,exit返回hadoop用户,然后sudo chmod 600 (bad owner 那个路径)
第二个error
参考/usr/bin/ssh-copy-id: ERROR: Host key verification failed._ssh-copy-id报错-CSDN博客
更多推荐




所有评论(0)