I am getting struck at subjected steps,
- Successfully Generated the Key Pair on master-1 node
$ssh-keygenon the ,master-1 node
- unable to move the public key of master to all other VMs, with the below commands
$cat >> ~/.ssh/authorized_keys <<EOF ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD......8+08b vagrant@master-1 -- Replaced with actual key EOF
Getting the permission error
vagrant@master-1: Permission denied (publickey).
vagrant@master-2: Permission denied (publickey).
Appreciate your help