[Beowulf] Password less ssh

Suvendra Nath Dutta sdutta at cfa.harvard.edu
Tue Dec 7 11:03:13 PST 2004


On this note, I know this has been rehashed many times before, but 
using OpenSSH 3.8 on SUSE 9.1, I couldn't get host authentication to 
work. I followed all the instructions out in the web but everything 
failed. I ended up copying the root's dsa key to every user's ssh 
directory and using public-key authentication. Has someone successfully 
implemented host authentication using SSH (hopefully v2) and has 
written it up in a nice How To?

Suvendra.


On Dec 7, 2004, at 1:20 PM, Paulo Silva wrote:

> Hello,
>
> Seg, 2004-12-06 às 21:58 -0800, akhtar Rasool escreveu:
>> Hi,
>> Actually i m unable to achieve paswordless ssh. Without this i cannot
>> successfully install MPICH.
>> What i have did
>> - server's /home is shared with the nodes
>> - kuser on a node has generated its key like
>>      ssh-keygen -t dsa
>> which is saved in /home/kuser/.ssh    of the node.
>> - now i have copied this key(id_dsa.pub) to
>> server's /root/.ssh/authorized_keys
>>    scp /home/kuser/.ssh/id_dsa.pub   server:/root/.ssh/authorized_keys
>
> Did you changed the permissions of the /root/.ssh/authorized_keys file
> to something like 600?
>
>> - then i have restarted sshd....
>>
>> Still password asking.. kindly solve
>>
>> if  rsh is easy to use for a cluster tell me that
>>
>> Akhtar
>
> -- 
> Paulo Silva <pjs at eurotux.com>
> Eurotux Informática, SA
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit 
> http://www.beowulf.org/mailman/listinfo/beowulf





More information about the Beowulf mailing list