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 an administrator.
Run the sudo su command to switch from a common user to an administrator.
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:
- 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:
- 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:
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:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot