hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fred wang <fredwang...@gmail.com>
Subject Re: fail to setup passphraseless ssh and need some help
Date Thu, 02 Jul 2009 05:11:08 GMT
I have setup ./.ssh/authorized keys has permssion 600, but it didn't work.
Thanks anyway

ls -l .ssh/authorized_keys
-rw------- 1 xxx xxx 1222 2009-07-02 13:08 .ssh/authorized_keys

On Thu, Jul 2, 2009 at 12:15 AM, Konstantin Boudnik <cos@yahoo-inc.com>wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message