mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Alert for SSH type
This commit is contained in:
parent
82e2a474a7
commit
f61c8fa257
@ -278,12 +278,17 @@ function validate_os_sshpass {
|
||||
if test -z "$REMOTE_PASS"
|
||||
then
|
||||
sshpassword=''
|
||||
MESSAGE="Using SSH Key-Pair Authentication"
|
||||
else
|
||||
sshpassword="sshpass -p ${REMOTE_PASS}"
|
||||
MESSAGE="Using SSH Password Authentication"
|
||||
fi
|
||||
else
|
||||
sshpassword=''
|
||||
MESSAGE="Using SSH Key-Pair Authentication"
|
||||
fi
|
||||
|
||||
echo -e "$INFO $MESSAGE"
|
||||
}
|
||||
|
||||
# List GS Arguments
|
||||
|
Loading…
Reference in New Issue
Block a user