Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraram535 <aram535@users.noreply.github.com>2018-06-22 13:29:25 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-06-22 13:29:25 +0300
commit1caf9ad12dc007daa45549d81178074d3f0af6eb (patch)
tree99046bc071e84e6c71f86e924beb0eac120ccc79 /include/tests_ssh
parentbf2462272e3d51d63f8b85fc8abadbfe5cd59390 (diff)
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.
Diffstat (limited to 'include/tests_ssh')
-rw-r--r--include/tests_ssh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_ssh b/include/tests_ssh
index 8b000e24..0d0742d2 100644
--- a/include/tests_ssh
+++ b/include/tests_ssh
@@ -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