hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fred wang <fredwang...@gmail.com>
Subject fail to setup passphraseless ssh and need some help
Date Wed, 01 Jul 2009 14:35:15 GMT
Hi all,

  I failed to setup passphraseless ssh(I mean, I still need to input
password to do ssh localhost) when I tried to configure Hadoop to run on
psuedo-distributed operation,  could anyone help me solve this issue?

(1)I use the Putty0.6 to remote access to Ubuntu by SSH.

(2) execution steps and ouput

$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
Generating public/private dsa key pair.
Your identification has been saved in /home/xxx/.ssh/id_dsa.
Your public key has been saved in /home/xxx/.ssh/id_dsa.pub.
The key fingerprint is:
a9:39:4c:9b:22:f9:a4:77:70:24:fa:bf:12:f5:81:81 xxx

**note: it doesn't have message  'Enter passphrase (empty for no
    Enter same passphrase again: ' which appear in some introductory paper.

$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
no output

$ ssh localhost
The authenticity of host 'localhost (' can't be established.
RSA key fingerprint is 4f:a1:ff:ed:0c:46:3e:a9:8c:97:bc:b7:46:3e:35:d2.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
xxx@localhost's password:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message