Rate This Document
Findability
Accuracy
Completeness
Readability

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

  1. 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:

    1
    cp /root/.ssh/id_rsa /home/test01/.ssh/id_rsa
    
  2. 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
    
  3. View the file permission.
    1
    ls -l