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/user/.ssh/id_rsa
Figure 1 Private key file
For the root user:
1cp /root/.ssh/id_rsa /home/devkit/.ssh/
- Set the permission on the copied private key file.
Set the owner of the copied private key file to devkit and the permission to 400.
1 2 3
cd /home/devkit/.ssh/ chown devkit:devkit id_rsa chmod 400 id_rsa
- View the file permission.
1ls -lFigure 2 File permission
Parent topic: Common Operations