ssh-copy-id no identities found error

后端 未结 13 1148
情深已故
情深已故 2021-01-31 01:21

I have few client systems where I need to push the ssh key and login from my server without authentication prompts.

First, on the server, I created ssh key as below whi

13条回答
  •  清酒与你
    2021-01-31 01:46

    I had faced this problem today while setting up ssh between name node and data node in fully distributed mode between two VMs in CentOS.

    The problem was faced because I ran the below command from data node instead of name node ssh-copy-id -i /home/hduser/.ssh/id_ras.pub hduser@HadoopBox2

    Since the public key file did not exist in data node it threw the error.

提交回复
热议问题