Hope you are doing well,


Please try the command given below for password less ssh login:


1)  Create ssh key on all the nodes first


ssh-keygen -t rsa -P ""


2) Copy the public key to the authorized_keys [ For all nodes]

 

cat /home/ubuntu/.ssh/my-aws-key-pair.pem >> /home/ubuntu/.ssh/authorized_keys


3) Copy the public key of master node to all other nodes


ssh-copy-id -i /home/ubuntu/.ssh/my-aws-key-pair.pem ubuntu@destination_node_host_name


I think this will be resolved now. kindly let me know if the issue still persists.


Feel free to contact us in case you have any other query. 

 

Kindly share your feedback by clicking on either of the smiley's.