Support Questions

Find answers, ask questions, and share your expertise

Pre-requisite for establishing password less sessions between nodes



One of prerequisites for establishing a hadoop cluster is two create passwordless sessions between nodes.

I am aware of how to generate pass-wordless session between node1 and node2 by creating


and then coping the contents to destination like below

#cat .ssh/ | ssh root@ 'cat >>

my question is that shoul I do this between each 2 nodes once or two times.

for example once from node1 to node2 and then again from node2 to node1?




This is required only from one node. You should be able to do passwordless ssh from ambari server node to all the other nodes.

# cat .ssh/ | ssh root@{ambari-ip} 'cat >> .ssh/authorized_keys'
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.