Update gravity-sync.sh

This commit is contained in:
Michael Stanclift 2020-05-25 14:05:08 -05:00
parent 0f18aa94fa
commit 174b43358f

View File

@ -298,6 +298,7 @@ function validate_os_sshpass {
MESSAGE="Testing SSH Connection"
echo -e "$STAT $MESSAGE"
echo -e "${sshpassword} ssh -o ConnectTimeout=5 -o BatchMode=yes -o StrictHostKeyChecking=no ${REMOTE_USER}@${REMOTE_HOST} 'exit'"
${sshpassword} ssh -o ConnectTimeout=5 -o BatchMode=yes -o StrictHostKeyChecking=no ${REMOTE_USER}@${REMOTE_HOST} 'exit'
error_validate