Configuring the Password-free Login Certificate
Prerequisites
SSH password-free login from the current node has been enabled for the node to be added.
Procedure
- Copy the private key file.
- Private key file path for the root user: /root/.ssh/id_rsa
- Private key file path for common users: /home/username/.ssh/id_rsa
Replace username with the actual user name.
Figure 1 Private key file
If the password-free login user is the root user and the DevKit installation user is the common user test01, run the following command:
1cp /root/.ssh/id_rsa /home/test01/.ssh/id_rsa
- Set the permission on the copied private key file.
Set the owner of the copied private key file to the DevKit installation user and the permission to 400.
1 2 3
cd /home/test01/.ssh/ chown test01:test01 id_rsa chmod 400 id_rsa
- View the file permission.
1ls -l
Parent topic: Common Operations