LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   rsh between 2 nodes on a Linux Cluster (https://www.linuxquestions.org/questions/linux-general-1/rsh-between-2-nodes-on-a-linux-cluster-37300/)

marxsmann 12-04-2002 09:27 AM

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 :)

Tinkster 12-04-2002 01:03 PM

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

pritam 01-26-2003 04:15 PM

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


All times are GMT -5. The time now is 03:56 AM.