Setup Script - Fix SSH multiple logins

This commit is contained in:
Mike Reeves
2018-10-22 15:34:07 -04:00
parent f16507ff92
commit f1e03bbaae

View File

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