This commit is contained in:
Michael Stanclift 2020-06-01 13:53:12 -05:00
parent 4e4ddd56d1
commit 3fe515a4e4

View File

@ -591,7 +591,7 @@ function validate_os_sshpass {
echo_stat echo_stat
if hash ssh 2>/dev/null if hash ssh 2>/dev/null
then then
timeout 5 ${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i '$HOME/${SSH_PKIF}' -o StrictHostKeyChecking=no ${REMOTE_USER}@${REMOTE_HOST} 'exit' >/dev/null 2>&1 timeout 5 ${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i "$HOME/${SSH_PKIF}" -o StrictHostKeyChecking=no ${REMOTE_USER}@${REMOTE_HOST} 'exit' >/dev/null 2>&1
error_validate error_validate
elif hash dbclient 2>/dev/null elif hash dbclient 2>/dev/null
then then