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

Re: Asking about RSH on Linux?



Hai Nguyen wrote:
Dear debian-user@lists.debian.org <mailto:debian-user@lists.debian.org>
I have an alphaserver with 6 node in which I have installed Linux but I have a problem with "rsh" command. When I type:
#rsh node5
it tell me that the conection refused...
Mean while, "ping" command run ok
#ping node5 - run OK
#ping node2 - run OK
Hi there. You need to make sure portmap is running on the machine(s) (ps -ax| grep portmap). Then you may need to edit the /etc/hosts.allow file on the servers to allow portmap connections. It should contain these lines to only allow connections from 192.168.0.0 networks:

portmap : 192.168.0.0/255.255.0.0 : allow
portmap : ALL : deny


If security is a concern, you may want to look at using SSH instead.



Reply to: