hadoop-general mailing list archives

Hi All,
The Quick Start page
http://hadoop.apache.org/common/docs/current/quickstart.html contains a
suggestion on how to ssh to localhost w/o a passphrase
Now check that you can ssh to the localhost without a passphrase:
$ ssh localhost
If you cannot ssh to localhost without a passphrase, execute the following
commands:
$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
I suggest adding a third command to to the snipped
$ chmod 600 ~/.ssh/authorized_keys
Otherwise the number of users who wants a quick start and run into an ssh
issue like one described in
http://www.linuxquestions.org/questions/linux-newbie-8/ssh-to-localhost-without-password-802067/
will grow on. WBR Oleg V. Zhylin ovz@yahoo.com