1832251 Members
2707 Online
110041 Solutions
New Discussion

unable to do remsh

 
SOLVED
Go to solution
hemant dubey_1
Advisor

unable to do remsh

i am unable to do remsh from one server to another in one network but able to to remsh in cluster node in same network.
7 REPLIES 7
Ludovic Derlyn
Esteemed Contributor

Re: unable to do remsh

hi

check your .rhosts , server will be set in

Regards

L-DERLYN
Torsten.
Acclaimed Contributor

Re: unable to do remsh

Do you have a .rhosts file?

Read more on the man page

man remsh
man remshd

Consider to use ssh for more security.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Oviwan
Honored Contributor

Re: unable to do remsh

Hey

Check the .rhosts file on BOTH server.

Regards
Pete Randall
Outstanding Contributor

Re: unable to do remsh

You should also check the /etc/hosts.equiv file.


Pete

Pete
hemant dubey_1
Advisor

Re: unable to do remsh

1.when i am trying to do remsh it is giving error
remsh: login incorrect

2. i have checked and found that there is no /etc/hosts.equiv file and .rhosts file in home directory
Oviwan
Honored Contributor
Solution

Re: unable to do remsh

Hey

Create the .rhosts file on both server.

e.g.
ServerA:
User:oracle
/home/oracle/.rhosts (content of this file)
ServerB oracle

ServerB:
User:oracle
/home/oracle/.rhosts (content of this file)
ServerA oracle

You can test it with rlogin.
e.g. on ServerB type
#rlogin ServerA

if you can connect without typing a password, then remsh should also work.


Regards

p.s. as you are new in this forums, don't forget to assign points.
paolo barila
Valued Contributor

Re: unable to do remsh

...then switch from remsh to ssh as soon as possible...
share share share