mirror of https://github.com/CISOfy/lynis.git
Improved [SSH-7408] with 'PermitUserEnvironment'.
This commit is contained in:
parent
5487401aba
commit
3817ffd299
|
@ -116,7 +116,8 @@
|
|||
Port:,,22:!\
|
||||
LoginGraceTime:120,240,480:<\
|
||||
MaxStartups:4,8,16:<\
|
||||
MaxSessions:2,4,8:<"
|
||||
MaxSessions:2,4,8:<
|
||||
PermitUserEnvironment:NO,,YES:="
|
||||
|
||||
for I in ${SSHOPS}; do
|
||||
OPTIONNAME=`echo ${I} | cut -d ':' -f1`
|
||||
|
|
Loading…
Reference in New Issue