Cloudera Manager Failed to authenticate : Exhausted available authentication methods

狂风中的少年 提交于 2019-12-03 13:07:22
Alex Raj Kaliamoorthy

I had a similar issue and after a lot of research in the internet I managed to fix the problem. Follow the below steps to fix it.

sudo nano /etc/ssh/sshd_config

In the file now look for PermitRootLogin without-password and replace it with this

PermitRootLogin yes

Now restart the ssh service

sudo service ssh restart

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

xuan

I also encountered such problem when I configured my localhost. After while, I figured out:

  1. Add rsa private key located at ./ssh/id_rsa to cloudera manager instead of your public key. In popup, if you don't see the hidden folder, right click your mouse to show hidden folder.

  2. Enter your root password as passphrase

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

Let's consolidate everything in one post:

Default, Root user is locked in ubuntu/Linux.To unlock, first need to reset password. It asks for Password twice.

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

Unlock root user

$ sudo passwd -u root

Open /etc/ssh/sshd_config in an editor:

sudo nano /etc/ssh/sshd_config

In the file now look for PermitRootLogin without-password and replace it with this

PermitRootLogin yes

Restart SSH service

sudo service ssh restart
anil

Follow below mentioned three step its working for me

Open /etc/ssh/sshd_config in an editor:

sudo nano /etc/ssh/sshd_config

Find and update the following line:

PermitRootLogin yes

Restart the ssh service.

sudo service restart ssh

Thanks for valuable post

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!