1833379 Members
3649 Online
110052 Solutions
New Discussion

HPUX RSH

 
shashi kanth
Super Advisor

HPUX RSH

I login to a HP-UX 11iv3 box with root, added the box to .rhosts file and /etc/hosts.equiv, and then if i do "remsh ", it asking for password.

what i am missing ?
5 REPLIES 5

Re: HPUX RSH

You have the usage of .rhosts backwards

It doesn't contain a list of hosts you are allowed to connect _to_ without a password. It contains a list of hosts that are allowed to connect to that system without a password.

Example: I have node1 and node2

If I want to connect from node1 to node2 without a password then I add node1 ro the .rhosts file on node2

If I want to connect from node2 to node1 without a password then I add node2 ro the .rhosts file on node1

HTH

Duncan

I am an HPE Employee
Accept or Kudo
shashi kanth
Super Advisor

Re: HPUX RSH

I want node1 to node1 itself.

on node1

#cat .rhosts
node1

#cat /etc/hosts.equiv
node1

If i do #remsh node1, then it is asking for password.

what i am missing ?

Re: HPUX RSH

so any messages associated with this in /var/adm/syslog/syslog.log

if you don't see anything you may have to enable connection logging for inetd. You toggle connection logging on and off using:

inetd -l

HTH

Duncan

I am an HPE Employee
Accept or Kudo
T G Manikandan
Honored Contributor

Re: HPUX RSH

Hi Shashi,

I would recommend enabling SSH on the system and enabling rsh

There are many documents on google like

http://saikrishbe.wordpress.com/2007/01/19/remote-login-without-password/
shashi kanth
Super Advisor

Re: HPUX RSH



Thank you all.