Exhausted available authentication methods

In this post we will discuss about common problem in installing cloudera manager 5.3.2 on Ubuntu 14.04 machine and solution for the root cause.


When installing Cloudera Manager 5.3.2 on Ubuntu 14.04.2 Machine getting below error messages after giving root privileges on ssh configuration page.

Exhausted available authentication methods


Installation failed on all hosts. Installation failed. Failed to authenticate

In this case, ssh to root might be a problem. To confirm this try the below commands from Ubuntu terminal from default user not root account. If we receive error message like below in connecting to ssh to root account then this is the cause for above error messages in cloudera manager.


This might be due to unable to ssh to root account in Ubuntu. By default, ssh to root account will not be enabled in Ubuntu and below is the procedure for that. By following the below changes I was able to solve the above problem.

After that I have selected root as the user and its password to start installation on all hosts and maintained the same root password on all agent nodes.

For this we need to make some changes to be able to ssh to root user.

You need to edit /etc/ssh/sshd_config, and commend out the following line:

Just below it, add the following line:

Then restart SSH:

Once these changes are done, try the below command from Ubuntu terminal: If we receive response like below then the problem is solved.

About Siva

Senior Hadoop developer with 4 years of experience in designing and architecture solutions for the Big Data domain and has been involved with several complex engagements. Technical strengths include Hadoop, YARN, Mapreduce, Hive, Sqoop, Flume, Pig, HBase, Phoenix, Oozie, Falcon, Kafka, Storm, Spark, MySQL and Java.

Leave a comment

Your email address will not be published. Required fields are marked *

Skip to toolbar