mirror of https://github.com/CISOfy/lynis.git
Improved [SSH-7408] with 'GatewayPorts'.
This commit is contained in:
parent
3817ffd299
commit
490fd6d5ec
|
@ -117,7 +117,8 @@
|
||||||
LoginGraceTime:120,240,480:<\
|
LoginGraceTime:120,240,480:<\
|
||||||
MaxStartups:4,8,16:<\
|
MaxStartups:4,8,16:<\
|
||||||
MaxSessions:2,4,8:<
|
MaxSessions:2,4,8:<
|
||||||
PermitUserEnvironment:NO,,YES:="
|
PermitUserEnvironment:NO,,YES:=\
|
||||||
|
GatewayPorts:NO,,YES:="
|
||||||
|
|
||||||
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