5.8. Enabling RSH on Compute Nodes

The default Rocks configuration does not enable rsh commands or login to compute nodes. Instead, Rocks uses ssh as a drop in replacement for rsh. There may be some circustances where ssh does not have exactly the same semantics of rsh. Further, there may be some users that cannot modify their application to switch from rsh to ssh. If you are one of these users you may wish to enable rsh on your cluster.

Warning

Enabling rsh on your cluster has serious security implicatation. While it is true rsh is limited to the private-side network this does not mean it is as secure as ssh. Talk to your local security expert about why this might be a bad idea

Enabling rsh is done by modifying the default kickstart graph. Using your favorite editor open the file /home/install/profiles/2.3/graphs/default.xml and search for the following block of code:

<!-- Uncomment to enable RSH on your cluster (this is not very secure!) 
	<edge from="slave-node" to="xinetd"/>
	<edge from="slave-node" to="rsh"/>
-->

Next follow the instruction and uncomment this block. This will force all appliance types that reference the slave-node class (compute nodes, nas nodes, ...) to enable an rsh service that trusts all hosts on the private side network. This uncommented block should look like this.

	<edge from="slave-node" to="xinetd"/>
	<edge from="slave-node" to="rsh"/>

The next step is to re-install your compute nodes to pickup the changes.