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

Notices


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

Rep: Reputation: 15
Passwordless SSH for Cluster need help


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

Last edited by nedian123; 12-07-2004 at 12:30 AM.
 
Old 12-07-2004, 12:33 AM   #2
mikeyt_333
Member
 
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.

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

Rep: Reputation: 15
Maybe it's because dsa is ssh version 2? Try this:
Code:
 scp /home/kuser/.ssh/id_dsa.pub 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
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
ssh

Remember, you must set authorized_keys to read only by owner

chmod 600 authorized_keys
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:17 PM.

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