I have tried everything and i have been on this for two days, no progress.
i can access the same server (hadoopmaster) but when i try to copy the key or ssh into the slave (hadoopslave-1) i get the permission denied (publickey) error. Am here to get help.
Because i want to make them to be able to ssh into each other one namenode and two datanodes , i have already installed ambari and trying to setup on ambari on the cluster. First image screenshot
i used ssh -i ~/.ssh/id_rsa -v ubuntu@ec2-54-186-26-168.us-west-2.compute.amazonaws.com
Also tried to copy key but same error message ssh-copy-id -i $HOME/.ssh/id_rsa.pub ubuntu@hadoopslave-1