paramiko.ssh_exception.AuthenticationException: Authentication failed
cat /etc/cb/cb_ssh.pub
In the unlikely event that the /etc/cb/cb_ssh.pub
file does not exist on the primary server, follow these steps:
/etc/cb/cb.conf
sshPrivateKey=/etc/cb/cb_ssh if it doesn't exist
Save the file.
Run:
ssh-keygen -t rsa
/etc/cb/cb_ssh
(Note: do not add .pub, it will create a public and private key itself)
/usr/bin/ssh-copy-id -i /etc/cb/cb_ssh.pub root@<ip of minion> -p 22
This last step will copy the key over. If it doesn't then manually copy it manually into /root/.ssh/authorized_keys on the secondary server by following the Resolution steps above.