feat: add option for LoginGraceTime and MaxStartups
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9e0cbae01e
commit
ce434c29d7
@ -42,6 +42,8 @@ sshd_max_auth_tries: 6
|
||||
sshd_max_sessions: 10
|
||||
sshd_tcp_keep_alive: "yes"
|
||||
sshd_use_dns: "no"
|
||||
sshd_login_grace_time: 60
|
||||
sshd_max_startups: "10:30:60"
|
||||
|
||||
sshd_crypto_policy_enabled: True
|
||||
|
||||
|
@ -50,7 +50,7 @@ LogLevel {{ sshd_log_level }}
|
||||
|
||||
# Authentication:
|
||||
|
||||
#LoginGraceTime 2m
|
||||
LoginGraceTime {{ sshd_login_grace_time }}
|
||||
PermitRootLogin {{ sshd_permit_root_login }}
|
||||
StrictModes {{ sshd_strict_modes }}
|
||||
{% if sshd_allow_groups %}
|
||||
@ -136,7 +136,7 @@ ClientAliveInterval {{ sshd_client_alive_interval }}
|
||||
ClientAliveCountMax {{ sshd_client_alive_count_max }}
|
||||
UseDNS {{ sshd_use_dns }}
|
||||
#PidFile /var/run/sshd.pid
|
||||
#MaxStartups 10:30:100
|
||||
MaxStartups {{ sshd_max_startups }}
|
||||
#PermitTunnel no
|
||||
#ChrootDirectory none
|
||||
#VersionAddendum none
|
||||
|
Loading…
Reference in New Issue
Block a user