[Beowulf] Password less ssh

Yaroslav Halchenko list-beowulf at onerussian.com
Tue Dec 7 10:32:16 PST 2004


Are you trying to ssh to root account? Then make sure you permit root to
login:
~>grep Root /etc/ssh/sshd_config
PermitRootLogin yes

if you want to ssh to kuser account why the hack you copy public key to
root's .ssh? because your home is shared just cp id_dsa.pub
authorized_keys
and then make sure that permissions on .ssh directory are restrictive.

hope this helps

-- 
Yarik

On Mon, Dec 06, 2004 at 09:58:37PM -0800, akhtar Rasool wrote:

>    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

>    - then i have restarted sshd....



>    Still password asking.. kindly solve



>    if  rsh is easy to use for a cluster tell me that



>    Akhtar
>      _________________________________________________________________

>    Do you Yahoo!?
>    Yahoo! Mail - Easier than ever with enhanced search. [1]Learn more.

> References

>    1. http://us.rd.yahoo.com/evt=29916/*http://info.mail.yahoo.com/mail_250

> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf


-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]
             Key  http://www.onerussian.com/gpg-yoh.asc
GPG fingerprint   3BB6 E124 0643 A615 6F00  6854 8D11 4563 75C0 24C8

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20041207/e12355ed/attachment.sig>


More information about the Beowulf mailing list