LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-04-2002, 09:27 AM   #1
marxsmann
LQ Newbie
 
Registered: Dec 2002
Posts: 1

Rep: Reputation: 0
rsh between 2 nodes on a Linux Cluster


We have a program that requires a user to remote shell between nodes on a Linux cluster. As root I can remote shell from say node 1 to node 2 with no problems. However, if I try the same operation with a user it asks for a password before it allows the rsh to complete.

I have made sure that the .rhosts and hosts.equiv file are set correctly and that the password files are indentical on each node. Any ideas why this might be happening?


Thanks

Marc
 
Old 12-04-2002, 01:03 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Re: rsh between 2 nodes on a Linux Cluster

Quote:
Originally posted by marxsmann

I have made sure that the .rhosts and hosts.equiv file are set correctly and that the password files are indentical on each node. Any ideas why this might be happening?


Thanks

Marc :)
Hmmm ... the only time I've ever experienced
problems with rsh was when the hostname in .rhosts
wasn't fully qualified...

HIH

Cheers,
Tink
 
Old 01-26-2003, 04:15 PM   #3
pritam
LQ Newbie
 
Registered: Jan 2003
Posts: 1

Rep: Reputation: 0
Have you considered using ssh instead of rsh? It's more secure and its not too complicated to set up a secure passwordless authentication scheme using rsa keys. I have this setup, the relevant files ( in redhat 8 ) are /etc/ssh/sshd_config on server

< PasswordAuthentication no >

Restart ssh ( /etc/init.d/sshd restart )

Your /etc/ssh/ssh_config specifies where your public and private keys reside. You have to put your public key in ~/.ssh/authorized_keys

man ssh should help as well
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make an account across different nodes in a cluster muneebs123 Linux - Networking 2 08-26-2004 04:39 PM
Cluster....which distro is best for the Nodes? KaptinKABOOM Linux - Software 7 06-14-2004 08:34 PM
rsh on Cluster nodes rudy3107 Linux - Software 0 07-22-2003 06:53 AM
how do i install RH9.0 on all nodes in a cluster? dogma Linux - Newbie 1 05-26-2003 05:48 PM
How do i create an a/c at all nodes in the cluster dogma Linux - Networking 4 05-19-2003 10:21 AM


All times are GMT -5. The time now is 12:05 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration