Permission denied (publickey,password) on Apache-ambari when creating a cluster

I'm installing apache-ambari on ubuntu 14.04. IP:8080 on browser worked and I can connect to another host via ssh. I followed verified answer of this question /questions/29718643/otkazano-v-dostupe-publickeygssapi-keyexgssapi-with-mic-parol-vo-vremya-ustanovki-ambari-hadoop and also Host registration in Ambari fails with "Permission denied" But my problem has not yet been resolved and there is below error:

Registration log for hadoopmaster
==========================
Creating target directory...
==========================

Command start time 2018-05-08 19:05:24

Permission denied (publickey,password).
SSH command execution finished
host=hadoopmaster, exitcode=255
Command end time 2018-05-08 19:05:24

ERROR: Bootstrap of host hadoopmaster fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: Permission denied (publickey,password).

STDOUT: 
Permission denied (publickey,password).

In this step, I want to create one cluster and add one node (myself as server or master). I set right permission for ssh а также authorized_keys, Is my private key wrong? Is my FQDN(hadoopmaster) wrong? Note: I installed hadoop without apache-ambari on my system and it's OK. Пожалуйста, помогите мне.

1 ответ

Это должен быть неверный закрытый ключ или неверный контент авторизованных ключей. Возможно, вы добавили / забыли добавить новую строку в любой из этих файлов при копировании содержимого. Вы можете попробовать ssh-copy-id команда для правильного заполнения файла author_keys

Другие вопросы по тегам