diff --git a/gravity-sync.sh b/gravity-sync.sh index de0bdf3..3b5f794 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -618,11 +618,10 @@ function validate_os_sshpass { MESSAGE="Validating Connection to ${REMOTE_HOST}" echo_stat - ssh_function - CMD_TIMEOUT='5' CMD_REQUESTED="exit" - echo -e "${SSH_SEND}" + ssh_function + echo -en "${SSH_SEND}" ${SSH_SEND} >/dev/null 2>&1 error_validate