Configuring Password-free Login Between BMSs in a Cluster
Scenarios
This section describes how to configure a BMS cluster to enable password-free login between BMSs in the cluster.
Background
$: indicates performing an operation as a common user.
#: indicates performing an operation as a super user.
Run the sudo su command to switch from a common user to a super user.
Prerequisites
A BMS has been created and an EIP has been bound to the BMS.
Procedure
- Use PuTTY and a key pair to log in to any BMS in the cluster.
- Run the following command to disable user logout upon system timeout:
# TMOUT=0
- Copy the BMS key file in .pem format to the .ssh directory and name it id_rsa.
$ cd ~/.ssh
$ mv *.pem id_rsa
- Run the following command to assign permissions of the key file:
$ sudo chmod 600 id_rsa
- Run the following command to log in to the BMS using SSH and check whether you can log in to the BMS without a password:
$ ssh localhost
If information shown in Figure 1 is displayed and you can log in to the BMS without a password, the permissions have been assigned.
- Log in to other BMSs in the cluster and repeat steps 1 to 5.
- Run the following commands to check whether the tested BMSs can be logged in from each other without a password:
$ ssh Username@SERVER_IP
Last Article: Creating a BMS Cluster
Next Article: Installing and Using MPIs (BMS)

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.