mirror of https://github.com/CISOfy/lynis.git
Updated tests_ssh, removed extra ssh in the test (#557)
Seems like in the patch there was an extra 'ssh' added in the command line, which is breaking the ssh tests. Removing the ssh keyword... -T -C ... fixes the problem.
This commit is contained in:
parent
bf2462272e
commit
1caf9ad12d
|
@ -47,7 +47,7 @@
|
|||
CreateTempFile
|
||||
SSH_DAEMON_OPTIONS_FILE="${TEMP_FILE}"
|
||||
# Use a non-existing user, to ensure that systems that have a Match block configured, will be evaluated as well
|
||||
${SSHDBINARY} -T sshd-C user=doesnotexist,host=none,addr=none 2> /dev/null > ${SSH_DAEMON_OPTIONS_FILE}
|
||||
${SSHDBINARY} -T -C user=doesnotexist,host=none,addr=none 2> /dev/null > ${SSH_DAEMON_OPTIONS_FILE}
|
||||
else
|
||||
Display --indent 2 --text "- Checking running SSH daemon" --result "${STATUS_NOT_FOUND}" --color WHITE
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue