mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-28 16:24:13 +02:00
Improved [SSH-7408] with 'MaxSessions'.
This commit is contained in:
parent
47576a1bd0
commit
5487401aba
@ -115,7 +115,8 @@
|
|||||||
ClientAliveInterval:300,600,900:<\
|
ClientAliveInterval:300,600,900:<\
|
||||||
Port:,,22:!\
|
Port:,,22:!\
|
||||||
LoginGraceTime:120,240,480:<\
|
LoginGraceTime:120,240,480:<\
|
||||||
MaxStartups:4,8,16:<"
|
MaxStartups:4,8,16:<\
|
||||||
|
MaxSessions:2,4,8:<"
|
||||||
|
|
||||||
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