R: Re: rsh fails: [WAS] pvm connection problems

Vittorio vdemart1 at tin.it
Wed Nov 30 15:01:19 GMT 2005

>----Messaggio originale----
>Da: jhb at freebsd.org
>Data: 30-nov-2005 
2.15 PM
>A: <freebsd-cluster at freebsd.org>
>Cc: "Vittorio De Martino"
<vdm.fbsd at virgilio.it>, <freebsd-questions at freebsd.org>
>Ogg: Re: rsh 
fails: [WAS] pvm connection problems
>On Wednesday 30 November 2005 
08:30 am, Vittorio De Martino wrote:
>> Context: 2 pentium 4 boxes; 
freebsd 5.4 & 6.0
>> I detected that remote login via "rsh" doesn't 
work in my boxes:
>> e.g.
>> # rsh uffbsd
>> uffbsd.myd.prv: Connection 
>> even though I've defined the trusted hosts on each box 
both in
>> $HOME/.rhosts and in /etc/hosts.equiv.
>> I've also 
uncommented the shell lines in /etc/inetd.conf to no avail.
>> What 
should I do to enable the (mistrusted) rsh connection?
>> Vittorio
>Do you have inetd enabled (inetd_enable="YES" in /etc/rc.conf) and is 

Actually no, but...

>From the standpoint of my first 
box, NbBSD (freebsd 6.0) I did the following steps

1) added 
inetd_enable="YES" at the end of /etc/rc.conf 
2) modified /etc/inetd.
conf uncommenting the line
shell   stream  tcp     nowait  root    
/usr/libexec/rshd       rshd
(I don't know if it helps, anyway!)
/etc/rc.d/inetd start
4) I've checked the presence of inetd via top. It 
5) Under user victor there's a .rhosts file containing:
uffbsd.myd.prv  victor

(user victor exists on the box uffbsd and 
uffbsd.myd.prv is also present in the box NbBSD in /etc/hosts: I can 
ping it!)

6) I reciprocate the same  configuring steps on the other 
machine uffbsd.

Well in the end:
# rsh uffbsd
Connection refused

Please help

More information about the freebsd-cluster mailing list