A good practice to configure passwordless ssh by generating ssh-key on the Ambari server and copying it to all the host in the cluster. Those are the pre-requisites for the cluster install see steps below
##################################### # Generating the ssh key on CentOS 7 ##################################### ssh-keygen chmod 700 ~/.ssh cat ~/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys ######################################## # copy the public key to all other hosts ######################################## cat .ssh/id_rsa.pub | ssh root@xxx_host 'cat >> .ssh/authorized_keys'
Or you can use manual by installing the ambari-agent on the other nodes but this is impractical for large clusters!
One the slave node
# yum install -y ambari-agent
Then edit the ambari-agent.ini, under security
[server] hostname=$FQDN_Ambari server url_port=8440 secured_url_port=8441
The start the agent
# ambari-agent start
Then you can proceed with you Ambari UI adding the hosts remember to do this on all the host you intend to join to your cluster
A good practice to configure passwordless ssh by generating ssh-key on the Ambari server and copying it to all the host in the cluster. Those are the pre-requisites for the cluster install see steps below
##################################### # Generating the ssh key on CentOS 7 ##################################### ssh-keygen chmod 700 ~/.ssh cat ~/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys ######################################## # copy the public key to all other hosts ######################################## cat .ssh/id_rsa.pub | ssh root@xxx_host 'cat >> .ssh/authorized_keys'
Or you can use manual by installing the ambari-agent on the other nodes but this is impractical for large clusters!
One the slave node
# yum install -y ambari-agent
Then edit the ambari-agent.ini, under security
[server] hostname=$FQDN_Ambari server url_port=8440 secured_url_port=8441
The start the agent
# ambari-agent start
Then you can proceed with you Ambari UI adding the hosts remember to do this on all the host you intend to join to your cluster
Thanks for asking. yes I still need help. As I am not able to copy the key still from the ssh shell to the ambari web page..neother to my local system. I have also enabled the bidirectional Transfer for the sandbox. But still not able to..