unable to join Amabari server to cluster
step 1 get rsa key from umbari host
# cat /root/.ssh/id_rsa
step 2 Amabri web UI choose Hosts...Action Add Host. enter ambari.example.com in Target Hosts Field
Paste the key from step 1 into where it asks for 'ssh prv key'
step 3 click button Register and confirm....
returns Failed
==========================
Creating target directory...
==========================
Command start time 2019-02-05 14:23:08
root@ambari.example.com: Permission denied (publickey,password).
SSH command execution finished
host=ambari.example.com, exitcode=255
Command end time 2019-02-05 14:23:08
ERROR: Bootstrap of host ambari.example.com fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: root@ambari.example.com: Permission denied (publickey,password).
STDOUT:
root@ambari.example.com: Permission denied (publickey,password).

