Cloudera Manager Authentication Failed: Available Authentication Methods Exhausted

I am currently trying to learn how to install and configure Cloudera before using it.

So, I install in VirtualBox, Ubuntu 14.04, Cloudera Manager. I would like to try it on a pseudo single node (only on my computer: without a cluster).

I was able to complete the installation. Then, to specify the hosts to install your CDH cluster; localhost 127.0.0.1

My problem is "Provide SSH credentials for login." step

Installing Cloudera packages requires root access to your hosts. This installer will connect to your hosts via SSH and log in either directly, or as root, or as another user with sudo / pbrun privileges without a password to become root. Login for all hosts: Root

You can connect using a password or public key authentication for the user selected above. Authentication Method: All hosts accept the same password
Enter password: *********
SSH Port: 22

Then click Continue

Installation error on all hosts. Installation failed. Authentication failed.

"Exhausted Authentication Methods Exhausted"

I tried resetting the root password, did not change .. I tried to use another user who had permissions without a password (not sure if I did it right .. but did not work) I tried to use the ssh public key after tutorials with this

ssh-keygen -t rsa -P "" cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys 

But I can not see the id_rsa.pub path ... because Cloudera Manager does not have permission to acess / .ssh /: (

I assume that I did not quite understand what is behind this step, but there is no textbook to go through it. Any solution to configure it?

Thanks for any advice.

+6
source share
4 answers

I had a similar problem, and after many research on the Internet, I was able to fix this problem. Follow these steps to fix this.

sudo nano / etc / ssh / sshd_config

In the file now find PermitRootLogin without a password and replace it with

PermitRootLogin yes

Now restart the ssh service

sudo service ssh restart

repeat the installation and it should work. Comment if it worked and spread the news.

+9
source

I also encountered such a problem when I set up my localhost. After that, I realized:

  • Add the rsa private key located at. / ssh / id _rsa, into the cloudera manager instead of your public key. In the pop-up window, if you do not see the hidden folder, right-click to display the hidden folder.

  • Enter root password as passphrase

make sure that you have allowed root login and logged in as root user, https://askubuntu.com/questions/451950/how-to-configure-lightdm-to-allow-manual-logins-in-ubuntu-14 -04

+2
source

Let everything be consolidated in one message:

By default, the root user is locked on ubuntu / Linux. To unlock, you first need to reset the password. He asks for the password twice.

 $ sudo passwd root Enter UNIX password: Retype UNIX password: 

Unblock root user

 $ sudo passwd -u root 

Open / etc / ssh / sshd_config in the editor:

 sudo nano /etc/ssh/sshd_config 

In the file now find PermitRootLogin without a password and replace it with

 PermitRootLogin yes 

Restart ssh service

 sudo service ssh restart 
+1
source

Follow the three steps below to make it work for me

Open /etc/ssh/sshd_config in the editor:

 sudo nano /etc/ssh/sshd_config 

Locate and update the following line:

 PermitRootLogin yes 

Restart the ssh service.

 sudo service restart ssh 

Thanks for the valuable post.

0
source

Source: https://habr.com/ru/post/976875/


All Articles