incubator-ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tapper, Gunnar" <gunnar.tap...@hp.com>
Subject RE: Passwordless login from master as well
Date Thu, 21 Mar 2013 22:10:00 GMT
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:ravindranathakila@gmail.com]
Sent: Thursday, March 21, 2013 2:52 PM
To: ambari-user@incubator.apache.org
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

Mime
View raw message