Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-07-2004, 12:02 AM   #1
Registered: Jun 2004
Location: PAKISTAN
Posts: 46

Rep: Reputation: 15
Passwordless SSH for Cluster need help

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( to server's /root/.ssh/authorized_keys
scp /home/kuser/.ssh/ 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


Last edited by nedian123; 12-07-2004 at 12:30 AM.
Old 12-07-2004, 12:33 AM   #2
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
I can't remember the configuration options, but look in your ssh config file, you have to enable this option, it isn't enabled by default to my knowledge.

Old 12-07-2004, 12:59 AM   #3
Registered: Dec 2002
Location: Russia
Distribution: ASP linux
Posts: 94

Rep: Reputation: 15
Maybe it's because dsa is ssh version 2? Try this:
 scp /home/kuser/.ssh/ server:/root/.ssh/authorized_keys2
And, as it has been said, check the parameter
PubkeyAuthentication yes
in sshd_config

Last edited by shy; 12-07-2004 at 01:01 AM.
Old 12-07-2004, 10:15 PM   #4
Jerre Cope
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37

Remember, you must set authorized_keys to read only by owner

chmod 600 authorized_keys


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get passwordless ssh working thorney Linux - Networking 3 11-27-2005 10:08 PM
Ssh passwordless : Urgent muneebs123 Linux - Security 23 06-21-2005 08:26 PM
Passwordless SSH problem? LQYY Linux - Software 5 06-09-2005 09:56 PM
Passwordless SSH access to LTSP Terminals MurrayL Linux - Networking 0 06-06-2005 05:10 AM
Regarding Passwordless SSH nedian123 Linux - Software 1 08-05-2004 05:07 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration