Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2. Setup password-less login from ocd to center and ocd to edge.  

  •  sshpass -p <password> ssh-copy-id -p <ssh-port> -o StrictHostKeyChecking=no root@<node_ip>
  • If you get authentication issue you can change the permission

             # Open file:  vi /etc/ssh/sshd_config

                  - PermitRootLogin yes

                  - PasswordAuthentication yes

              # Restart ssh service:

                  - sudo systemctl restart ssh.service

               # sshpass      sshpass -p <password> ssh-copy-id -p <ssh-port> -o StrictHostKeyChecking=no root@<node_ip>ip>  

3. cp -p /etc/passwd  /etc/passwd.bkp

...