mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Update gravity-sync.sh
This commit is contained in:
parent
d2e390f1c8
commit
2fede3899f
@ -510,7 +510,7 @@ function config_generate {
|
||||
MESSAGE="Generating ~/${SSH_PKIF}"
|
||||
echo -e "${INFO} ${MESSAGE}"
|
||||
|
||||
MESSAGE="Leave Key Passphrase Blank"
|
||||
MESSAGE="Accept All Defaults"
|
||||
echo -e "${WARN} ${MESSAGE}"
|
||||
|
||||
MESSAGE="Complete Key-Pair Creation"
|
||||
@ -544,15 +544,14 @@ function config_generate {
|
||||
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 "========================================================"
|
||||
fi
|
||||
else
|
||||
MESSAGE="Error Creating Key-Pair"
|
||||
echo -e "${FAIL} ${MESSAGE}"
|
||||
|
||||
exit_withchange
|
||||
fi
|
||||
fi
|
||||
|
||||
validate_os_sshpass
|
||||
|
Loading…
Reference in New Issue
Block a user