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

时间:2018-12-01 21:37:43

标签: hadoop ssh openstack-nova

我正在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). 是否错过了任何事情

0 个答案:

没有答案