hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Riccardo Freschi <riccardo.freschi...@gmail.com>
Subject passphraseless ssh
Date Sun, 09 Dec 2012 12:30:48 GMT
I tried the following:
*
hadoop-1.1.1/docs/single_node_setup.html
in order for passphraseless ssh to work, the below is not sufficient:
Setup passphraseless ssh

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 recommend you add the following sentence:
remove write permissions from group and other to your home directory and
.ssh directory.*

Mime
View raw message