I'm wanting to use the 'rsh' command from a host to connect to a RedHat Linux 2.4.7-10 server, but I seem to have run into some problems that have stumpped me a little. The facts so far:-
I have created the username www with corresponding passwords on both host and server.
I have added the 'host' computers ip address and hostname to the /etc/hosts file and created the /etc/hosts.equiv file containing the 'hosts' hostname and username on the redhat server.
On the server I have edited the /etc/xinetd.d/rsh file to read 'disable = no' and then restarted the xinetd daemon.
After editing the /etc/hosts.equiv file to allow user www to connect from localhost on the server I was able to execute the following command to ensure that rsh/rlogin was working, 'rsh localhost ls'.
I still am unable to execute the command 'rsh serverIpaddress ls' from the host computer. It just times out, no access denied is returned and no logs are entered in the servers /var/log/messages file. Both the host and server are on the same logical and physical networks and I am able to connect from host to server via telnet, ftp and ssh.
I don’t usually work with Linux machines, all of my main servers are running Solaris 8 & 9. I know that the way I have configured the /etc/hosts and /etc/hosts.equiv files on the server are correct due to testing it on two Solaris machines.
Is there any other services or security settings I need to alter to enable the server to except the rsh connection???
Any help at this stage would be greatly appreciated.