Setup Script - force the copy-id

This commit is contained in:
Mike Reeves
2018-07-05 15:41:42 -04:00
parent 34540c230b
commit 1202ca9c73

View File

@@ -137,7 +137,7 @@ copy_ssh_key() {
cat /dev/zero | ssh-keygen -f ~/.ssh/so.key -t rsa -q -N ""
chown -R $SUDO_USER:$SUDO_USER ~/.ssh
#Copy the key over to the master
sudo ssh-copy-id -i ~/.ssh/so.key socore@$MSRV
sudo ssh-copy-id -f -i ~/.ssh/so.key socore@$MSRV
}