Hi,

I have the same experience; that is, that section 5.2 in the installation guide 
doesn't address password-free ssh correctly.

I find it easiest to set up the ~/.ssh/authorized_keys file on the server node 
first by copying ~/.ssh/id_dsa.pub values from the slave nodes into that file. 
Then, I simply use scp to copy ~/.ssh/authorized_keys to the agent nodes. 
Finally, I find that you have to do the following on each node:

chmod 755 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
cd ~/.ssh
chmod 700 .. (that's two periods)


Sincerely,

Gunnar

Innovation is a team sport - Michael Idechik, vice president of advanced 
technologies, General Electric



From: Ravindranath Akila [mailto:[email protected]]
Sent: Thursday, March 21, 2013 2:52 PM
To: [email protected]
Subject: Passwordless login from master as well


Could you please update the documentation to include that Passwordless login is 
required from masters to slaves as well? Also include use of ssh-copy-id?
Just thought of suggesting based on my experience with Ambari. Finally got the 
cluster running B-)

-Ravindranath Akila

Reply via email to