I have installed Cloudera Manager on a Google Compute Engine VM and successfully logged in to CM. I am trying to create a 3 node Hadoop (YARN) cluster there. However, on the ssh credentials page, where I am providing my username without password, the process is failing (error: Exhausted available authentication methods
).
I tried creating password less ssh login manually. Created the id_rsa
and copied id_rsa.pub
to authorized_host
. I was able to ssh to the same machine but not to other machine (I did copy the instance-1 id_rsa.pub
to the instance-2's authorized_keys
).
Turns out that PasswordAuthentication was set to no in the ssh config (/etc/ssh/sshd_config). So while doing ssh it was not checking for password authentication hence did not ask for password. Changing this to yes solved my problem.