Update gravity-sync.sh

This commit is contained in:
Michael Stanclift 2020-05-25 14:10:50 -05:00
parent e5999539c1
commit f37957bc16

View File

@ -299,7 +299,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'
$SSHPASSWORD ssh -o ConnectTimeout=5 -o BatchMode=yes -o StrictHostKeyChecking=no ${REMOTE_USER}@${REMOTE_HOST} 'exit'
error_validate
}