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