[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] not able to login remotely with rsh but rlogin is ok



Christopher Jon Jursa wrote:
> Hello,
>
> I am using Condor 6.8 with MPICH 1.2.4 on Fedora Core 5.  I can communicate
> with processors between machines with rlogin but I can never seem to use rsh
> to connect.
>
> The error messages I get are below where xxx.xxx.xxx.xxx is the IP addrss.
>
> connect to address xxx.xxx.xxx.xxx port 544: Connection refused
> connect to address xxx.xxx.xxx.xxx port 544: Connection refused
> trying normal rsh (/usr/bin/rsh)
> connect to address xxx.xxx.xxx.xxx port 544: Connection refused
> connect to address xxx.xxx.xxx.xxx port 544: Connection refused
> trying normal rsh (/usr/bin/rsh)
>
> It eventually lets me in with rlogin without the password prompt.  Why can't
> I do this with rsh?  I set the following.
>
> hosts.equiv and .rhosts file with all IPs in my cluster and file permissions
> 644
> securetty on all machines with rsh, rlogin and rexec
> hosts.allow with ALL:ALL
>
> I have all firewalls shut down as well.
>
> What did I miss?
>
>   
It sounds like rsh may be falling back to rlogin when the rsh fails.
rsh and rlogin use different daemons to handle the connections.
Do you have the rsh daemons installed?

rpm -qa | grep -i rsh

You should see a package called rsh-server (unless they renamed it
under Fedora).

If not, you need to install that. After that's done you need to enable the
daemon. This will most likely be done via xinetd, so you need to edit
the appropriate file, most likely:

/etc/xinetd.d/rsh-server

but it's been a while since I used these. That should take care of the
problem. Note that "Connection refused" implies that you can't even
establish a connection, so you have not yet reached the point where
things like hosts.equiv and .rhosts will make a difference.

Best,

---Steve

--
Steve Barnet
UW-IceCube