hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Boudnik <...@yahoo-inc.com>
Subject Re: fail to setup passphraseless ssh and need some help
Date Wed, 01 Jul 2009 16:15:21 GMT
Make sure that your ~/.ssh/authorized_keys has permissions 600

Cos

On 7/1/09 7:35 AM, fred wang wrote:
> 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?
> Thanks!
>
> (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
> passphrase):
>      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 (127.0.0.1)' 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:

Mime
View raw message