From 7984455df6c68533f99821f1e8aafb4b37e29255 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Mon, 25 May 2020 11:51:00 -0500 Subject: [PATCH] Password option testing --- gravity-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 7d986ef..7529d71 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -347,7 +347,7 @@ function md5_compare { MESSAGE="Analyzing Remote ${GRAVITY_FI}" echo -e "${STAT} ${MESSAGE}" - primaryMD5=$(ssh -o ConnectTimeout=5 -o BatchMode=yes -o StrictHostKeyChecking=no ${REMOTE_USER}@${REMOTE_HOST} 'md5sum /etc/pihole/gravity.db') + primaryMD5=$(${sshpassword}ssh -o ConnectTimeout=5 -o BatchMode=yes -o StrictHostKeyChecking=no ${REMOTE_USER}@${REMOTE_HOST} 'md5sum /etc/pihole/gravity.db') error_validate MESSAGE="Analyzing Local ${GRAVITY_FI}"