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?
Re: rsh between 2 nodes on a Linux Cluster
problems with rsh was when the hostname in .rhosts
wasn't fully qualified...
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 02:57 PM.|