mirror of https://github.com/CISOfy/lynis.git
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…
Reference in New Issue