From 174b43358fe3b67079c21745e04bade7cd332ce1 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Mon, 25 May 2020 14:05:08 -0500 Subject: [PATCH] Update gravity-sync.sh --- gravity-sync.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gravity-sync.sh b/gravity-sync.sh index dced6bb..7e1cf62 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -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