Change validation text for new clone
This commit is contained in:
@@ -47,7 +47,7 @@ else
|
||||
SSH_TEST=("${SUDO_COMMAND[@]}" "ssh" "${REMOTE_HOST}");
|
||||
result=$("${SSH_TEST[@]}" 2>&1);
|
||||
# this can be key or deploy key
|
||||
validate_string="You've successfully authenticated with the "
|
||||
validate_string="You've successfully authenticated"
|
||||
if [[ "$result" != *"$validate_string"* ]]; then
|
||||
echo "Could not connect to ${REMOTE_HOST}: ${result}";
|
||||
error=1;
|
||||
|
||||
Reference in New Issue
Block a user