sshd_config.j2: add more variables.

This commit is contained in:
2020-07-07 21:21:10 +02:00
parent d1c34351b4
commit 7557f4931f
3 changed files with 11 additions and 3 deletions

View File

@ -54,17 +54,17 @@ HostKey {{ item }}
# The default is 10.
#MaxStartups 10:30:100
#MaxStartups 3
MaxStartups 10:30:100
MaxStartups {{ sshd_max_startups }}
# Specifies the maximum number of authentication attempts permitted per
# connection.
# The default is 6.
MaxAuthTries 3
MaxAuthTries {{ sshd_max_auth_tries }}
# Specifies the maximum number of open sessions permitted per network
# connection.
# The default is 10.
MaxSessions 10
MaxSessions {{ sshd_max_sessions }}
#-----------------------------