diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2018-05-14 09:29:30 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2018-05-14 09:29:30 +0300 |
commit | 84faf57b30702f8e1ca1183ab216e26650be7a7c (patch) | |
tree | ed0423ec197e881b0e54d0724453d3c06b413e8f /include/tests_ssh | |
parent | 892a43c991917cb491f42e052220cb40f8ed5d92 (diff) |
[SSH-7402] when SSH configuration has Match block, allow evaluation of full configuration
Diffstat (limited to 'include/tests_ssh')
-rw-r--r-- | include/tests_ssh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tests_ssh b/include/tests_ssh index 05c75d8d..8b000e24 100644 --- a/include/tests_ssh +++ b/include/tests_ssh @@ -46,7 +46,8 @@ # Store settings in a temporary file CreateTempFile SSH_DAEMON_OPTIONS_FILE="${TEMP_FILE}" - ${SSHDBINARY} -T 2> /dev/null > ${SSH_DAEMON_OPTIONS_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} else Display --indent 2 --text "- Checking running SSH daemon" --result "${STATUS_NOT_FOUND}" --color WHITE fi |