I am trying to deploy a hadoop cluster using ambari, but when I select the hostnames with the fully qualified domain name and proceed with the configuration, I get permission denied for ssh.
STEPS: 1. The generated rsa key using ssh-keygen as root.
- permission changed to .ssh (700) and authorized_keys (640)
- enter the public key in authorized_keys.
- and copied the public key to all hosts (authorized_keys) and changed the file permission as described above.
- I could ssh without a password from the ambari server server on all other hosts.
But from ambari, it was not possible to install hadoop with the error below.
SSH command execution finished host=XXX, exitcode=255 Command end time 2015-06-23 10:44:07 ERROR: Bootstrap of host XXX fails because previous action finished with non-zero exit code (255) ERROR MESSAGE: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). STDOUT: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Please do not post this question as a duplicate. I could see other questions with the same description, but none of them mentioned the permission error for using ssh Ambari.
source share