1830258 Members
1875 Online
110000 Solutions
New Discussion

Re: rsh is not working..

 
srinu_1
Frequent Advisor

rsh is not working..

Hi all,

From linux machine I am not able to rsh to HP-ux machine.'rlogin' is working fine.(only problem'rsh' is not working).

Please find the .rhost file in the hp-ux machine.

FYI: (bhishma is hp-ux machine and btc6l013 is Linux machine).


bash-2.03# hostname
bhishma
bash-2.03# cat /.r
.rhosts .rnd
bash-2.03# cat /.rhosts
+@hosts_equiv
btc6l013 root
bash-2.03#


Please help me...

Thanks
srinu.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: rsh is not working..

Shalom,

The bash shell might be causing problems if thats installed as the default shell on the HP-UX system.

Checklist.

.rhosts # the contents and permissions.

/etc/hosts.equiv
/etc/hosts.deny
/etc/inetd.conf

/var/adm/syslog/syslog.log

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: rsh is not working..

It's extrange that rlogins works and rsh don't. What do you get when you use rsh? Timeout? Permission denied? Password prompt?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?