mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Update gravity-sync.sh
This commit is contained in:
parent
0f18aa94fa
commit
174b43358f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user