mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-29 00:34:14 +02:00
Improved [SSH-7408] with 'Port'.
This commit is contained in:
parent
c394024769
commit
96dfb5cf15
@ -112,7 +112,8 @@
|
|||||||
X11Forwarding:NO,,YES:=\
|
X11Forwarding:NO,,YES:=\
|
||||||
MaxAuthTries:1,3,6:<\
|
MaxAuthTries:1,3,6:<\
|
||||||
ClientAliveCountMax:2,4,16:<\
|
ClientAliveCountMax:2,4,16:<\
|
||||||
ClientAliveInterval:300,600,900:<"
|
ClientAliveInterval:300,600,900:<\
|
||||||
|
Port:,,22:!"
|
||||||
|
|
||||||
for I in ${SSHOPS}; do
|
for I in ${SSHOPS}; do
|
||||||
OPTIONNAME=`echo ${I} | cut -d ':' -f1`
|
OPTIONNAME=`echo ${I} | cut -d ':' -f1`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user