فهرست منبع

Make possible to add additionnal params in ssh configuration

Emmanuel Bouthenot 9 سال پیش
والد
کامیت
18a16f179f
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  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 %}