[SOLVED] Not able to do passworldless rsh/rlogin to redhat linux machine
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not able to do passworldless rsh/rlogin to redhat linux machine
Hi,
I am trying to connect to one redhat machine (rhel 5.5) from solaris box (solaris 10) using rsh. I have one strange problem while establishing remote connection amongst these two machines.
I am able to connect to redhat machine in single attempt everytime using ssh from solaris box but it takes two attempts to connect to same machine using rsh.
seems like some security settings not permitting me to login to linux machine from solaris.
Also,
There is one user account "user" on redhat machine.
Actually, I have already worked on ssh passwordless authentication, and now it's rsh's turn.
It's a project specific requirement and i need passwordless rsh for testing purpose.
Read this http://linux.die.net/man/8/rshd, particularly "which uses the file /etc/hosts.equiv and the .rhosts file found in the user's home directory."
Try rsh -d (turn on debugging)
Also you need a /.rhosts file with the name of the "allowed" servers as I remember it.
Also since you got ssh working run ssh -vvv <server name> and capture that screen so you can see how authentication is
done on your servers.
HTH
Rick
Quote:
Originally Posted by tushar8146
Hi,
I am trying to connect to one redhat machine (rhel 5.5) from solaris box (solaris 10) using rsh. I have one strange problem while establishing remote connection amongst these two machines.
I am able to connect to redhat machine in single attempt everytime using ssh from solaris box but it takes two attempts to connect to same machine using rsh.
seems like some security settings not permitting me to login to linux machine from solaris.
Also,
There is one user account "user" on redhat machine.
I am trying to connect to one redhat machine (rhel 5.5) from solaris box (solaris 10) using rsh. I have one strange problem while establishing remote connection amongst these two machines.
I am able to connect to redhat machine in single attempt everytime using ssh from solaris box but it takes two attempts to connect to same machine using rsh.
seems like some security settings not permitting me to login to linux machine from solaris.
Also,
There is one user account "user" on redhat machine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.