From d15ba9607fe2b60eab4dc923bcaad47998283c7d Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 1 Mar 2017 16:07:32 +0100 Subject: [SSH-7408] Corrected variable and allow a few more retries to prevent issues with public key authentication --- include/tests_ssh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/tests_ssh') diff --git a/include/tests_ssh b/include/tests_ssh index b17997eb..7d6491be 100644 --- a/include/tests_ssh +++ b/include/tests_ssh @@ -116,7 +116,7 @@ IgnoreRhosts:YES,,NO:=\ LoginGraceTime:120,240,480:<\ LogLevel:VERBOSE,INFO,:=\ - MaxAuthTries:1,3,6:<\ + MaxAuthTries:2,4,6:<\ MaxSessions:2,4,8:<\ PermitRootLogin:NO,(PROHIBIT-PASSWORD|WITHOUT-PASSWORD),YES:=\ PermitUserEnvironment:NO,,YES:=\ @@ -162,9 +162,9 @@ elif [ "${FOUNDVALUE}" = "${WEAKVALUE}" ]; then RESULT="WEAK" else - if [ ! -z "${EXPECTEDSCOREDVALUE}" ]; then - LogText "Expected scored value has multiple values, testing if active value is in list (${EXPECTEDSCOREDVALUE})" - FIND=$(echo ${FOUNDVALUE} | ${GREPBINARY} -E "${EXPECTEDSCOREDVALUE}") + if [ ! -z "${EXPECTEDVALUE}" ]; then + LogText "Expected value has multiple values, testing if active value is in list (${EXPECTEDVALUE})" + FIND=$(echo ${FOUNDVALUE} | ${GREPBINARY} -E "${EXPECTEDVALUE}") if [ $? -eq 0 ]; then LogText "Result: found" RESULT="GOOD" -- cgit v1.2.3