Operating System - HP-UX
1752790 Members
6506 Online
108789 Solutions
New Discussion юеВ

remsh not working on hp ux

 
hemant dubey_1
Advisor

remsh not working on hp ux

trying to to do remsh from one server with user A on another server to user B but giving error login incorrect
15 REPLIES 15
Fabian Brise├▒o
Esteemed Contributor

Re: remsh not working on hp ux

Hello hemant.

You need to edit the .rhosts file in each server.


Knowledge is power.
Fabian Brise├▒o
Esteemed Contributor

Re: remsh not working on hp ux

Since when Is this occurring ?

did it work before ?

Knowledge is power.
hemant dubey_1
Advisor

Re: remsh not working on hp ux

.rhosts file is ok i am able to do remsh from B to A but not A to B
Rita C Workman
Honored Contributor

Re: remsh not working on hp ux

Then you need to double check the B server's .rhost file. Something is amiss.

Rgrds,
Rita
Fabian Brise├▒o
Esteemed Contributor

Re: remsh not working on hp ux

Hello Hemant.

Check your /etc/hosts file

Knowledge is power.
hemant dubey_1
Advisor

Re: remsh not working on hp ux

it was working fine last week .
Fabian Brise├▒o
Esteemed Contributor

Re: remsh not working on hp ux

Hello Hemant.
What command are you using ?

Knowledge is power.
hemant dubey_1
Advisor

Re: remsh not working on hp ux

/home/oraprap> remsh whithp03 pwd
remshd: Login incorrect.

hemant dubey_1
Advisor

Re: remsh not working on hp ux

on server whithp07 i am using this command

/home/oraprap> remsh whithp03 pwd
remshd: Login incorrect.

------------------
the .rhosts file of whithp03 is
whithp03:/root > more /home/orauat/.rhosts
whithp04 orauat
whithp05 orauat
whithp02 orauat
whithp06 oraprap
whithp07 oraprap
whithp08 oraprap
whithp09 oraprap
whithp20 oraprap
whithp20_bkp oraprap