Browse Source

Make possible to add additionnal params in ssh configuration

Emmanuel Bouthenot 9 years ago
parent
commit
18a16f179f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      roles/common/templates/ssh/sshd_config.j2

+ 5 - 0
roles/common/templates/ssh/sshd_config.j2

@@ -116,3 +116,8 @@ AllowUsers {{ ssh_allowed_users | join(' ') }}
 # Define users groups allowed to login
 AllowGroups {{ ssh_allowed_groups | join(' ') }}
 {% endif %}
+
+{% if ssh_local_config is defined %}
+# Additional parameters
+{{ ssh_local_config|join('\n') }}
+{% endif %}