Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 700 Bytes

add-nodes.md

File metadata and controls

37 lines (27 loc) · 700 Bytes
  • Generate ssh key (on node0)

ssh-keygen
  • Copy ssh key to node 2,3,4,5

ssh-copy-id root@192.168.254.89
ssh-copy-id root@192.168.254.91
ssh-copy-id root@192.168.254.92
ssh-copy-id root@192.168.254.93
  • Secure root login over SSH

!! Make sure you are able to login to nodes 2,3,4,5 with ssh key before securing them !!

sudo nano /etc/ssh/sshd_config
PermitRootLogin without-password
Also  find "#PasswordAuthentication yes"
change too "PasswordAuthentication no"
  • Login to caprover dashboard and select cluster

Retrieve private key from node0

cat ~/.ssh/id_rsa
Enter info and make sure to join the first 4 nodes as "worker nodes"