diff options
author | Luca Di Stefano <luca.distefano@linaro.org> | 2017-11-21 15:34:20 +0000 |
---|---|---|
committer | Luca Di Stefano <luca.distefano@linaro.org> | 2017-11-21 15:35:25 +0000 |
commit | 72c2ad40028677a45be2b7aa4cc1ce9f480647ed (patch) | |
tree | 625cc529b656ed82ff9c88f0ae9b41f29f1af3fa | |
parent | ca991465d79732bbef60fc66e54ab42c711c767e (diff) |
Raising max number of ssh connections in TCWG
Change-Id: I62f03990b72400c6afde160d36210b908e1fd5f1
-rw-r--r-- | playbooks/roles/lab-sssd-access/templates/sshd_config.j2 | 5 | ||||
-rw-r--r-- | playbooks/tcwg_sssd_auth.yml | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/playbooks/roles/lab-sssd-access/templates/sshd_config.j2 b/playbooks/roles/lab-sssd-access/templates/sshd_config.j2 index 50ffed9..662e4ef 100644 --- a/playbooks/roles/lab-sssd-access/templates/sshd_config.j2 +++ b/playbooks/roles/lab-sssd-access/templates/sshd_config.j2 @@ -20,6 +20,11 @@ UsePrivilegeSeparation yes KeyRegenerationInterval 3600 ServerKeyBits 1024 +{% if tcwg_sshd is defined %} +MaxStartups 256 +MaxSessions 256 +{% endif %} + # Logging SyslogFacility AUTH LogLevel INFO diff --git a/playbooks/tcwg_sssd_auth.yml b/playbooks/tcwg_sssd_auth.yml new file mode 100644 index 0000000..1808f8f --- /dev/null +++ b/playbooks/tcwg_sssd_auth.yml @@ -0,0 +1,13 @@ +--- + +# Playbook to set up basic config (vim-nox, ntpd, static routes) + + +- hosts: all + + vars: + tcwg_sshd: True + + roles: +# - common + - lab-sssd-access |