如何将密钥从主节点复制到从节点?

kmpatx3s  于 2021-06-01  发布在  Hadoop
关注(0)|答案(0)|浏览(236)

我正在用openstack中的4个示例创建一个集群。我试图把钥匙从主钥匙复制到从钥匙,但出现了以下错误。我不确定是否 hduser@madhu-master-17129141:/home/ubuntu$ ssh-copy-id -i ~/.ssh/id_rsa.pub madhu-slave1-17129141 /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/hduser/.ssh/id_rsa.pub" /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys Permission denied (publickey). 我错过了什么

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题