Alert for SSH type

This commit is contained in:
Michael Stanclift 2020-05-24 21:29:23 -05:00
parent 82e2a474a7
commit f61c8fa257

View File

@ -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