On 21/01/09 10:47, Honest Guvnor wrote:
> Greetings,
> 
> With Scientific Linux 5.1/5.2 on i386/x86_64 we are struggling a bit
> to get rsh running. The current situation:
> 
> [a...@horst2 ~]$ /usr/bin/rlogin -l andy meyer
> Last login: Wed Jan 21 10:00:06 from bolt
> [a...@horst2 ~]$ /usr/bin/rsh -l andy horst2 date
> Wed Jan 21 10:25:34 CET 2009
> [a...@horst2 ~]$ /usr/bin/rsh -l andy meyer date
> poll: protocol failure in circuit setup
> [a...@meyer ~]$
> 
> Summary:
> - rlogin to another machine works.
> - rsh to the local machine works.
> - rsh to another machine fails.
> - rsh to another machine works if the firewall is disabled on the
> local/client machine (not shown).

rsh and rlogin use two different ports (513, 514), check whether the
appropriate holes are in your server firewall (/etc/syconfig/iptables).
Then make sure the client accepts the callback traffic (on some random
port) from the server.

And then forget about it and use ssh :-) , unless you'll never have any
untrusted machine on your network..

Cheers
Jan

Reply via email to