Enabling Secure Shell

This feature allows the egosh command to use Secure Shell (SSH) to start the cluster instead of Remote Shell (RSH).

Configure SSH at the OS level

Refer to the FAQ in the Knowledge Center for configuration details.

Enable SSH

Grant root privileges to a cluster administrator. Enable SSH on the host from which you want to run egosh commands.

To enable SSH, perform the following configuration:

Define or edit the EGO_RSH parameter in $EGO_CONFDIR/ego.conf on the host from which you want to run the egosh command:

EGO_RSH=ssh | “ssh $params”

For example:

EGO_RSH="ssh -o ’PasswordAuthentication no’ -o ’StrictHostKeyChecking no’"

If you want to revert to RSH usage, remove the new line in ego.conf or update it, as follows:

EGO_RSH=rsh

Note:

SSH must be configured correctly on all hosts. If the egosh command fails due to improper SSH configuration, the command will automatically be retried using RSH.

Note:

The user account of the user who starts the cluster must be able to run the ssh commands across all hosts.