mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Fing "
This commit is contained in:
parent
4e4ddd56d1
commit
3fe515a4e4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user