Update gravity-sync.sh

This commit is contained in:
Michael Stanclift 2020-05-26 21:33:00 -05:00
parent d2e390f1c8
commit 2fede3899f

View File

@ -510,7 +510,7 @@ function config_generate {
MESSAGE="Generating ~/${SSH_PKIF}" MESSAGE="Generating ~/${SSH_PKIF}"
echo -e "${INFO} ${MESSAGE}" echo -e "${INFO} ${MESSAGE}"
MESSAGE="Leave Key Passphrase Blank" MESSAGE="Accept All Defaults"
echo -e "${WARN} ${MESSAGE}" echo -e "${WARN} ${MESSAGE}"
MESSAGE="Complete Key-Pair Creation" MESSAGE="Complete Key-Pair Creation"
@ -544,15 +544,14 @@ function config_generate {
echo -e "========================================================" echo -e "========================================================"
echo -e "========================================================" echo -e "========================================================"
echo -e "" echo -e ""
ssh-copy-id -i $HOME/${SSH_PKIF} ${REMOTE_USER}@${REMOTE_HOST} ssh-copy-id -f -i $HOME/${SSH_PKIF} ${REMOTE_USER}@${REMOTE_HOST}
echo -e "" echo -e ""
echo -e "========================================================" echo -e "========================================================"
echo -e "========================================================" echo -e "========================================================"
fi else
MESSAGE="Error Creating Key-Pair" MESSAGE="Error Creating Key-Pair"
echo -e "${FAIL} ${MESSAGE}" echo -e "${FAIL} ${MESSAGE}"
fi
exit_withchange
fi fi
validate_os_sshpass validate_os_sshpass