Преглед на файлове

Tiny fixes in SSH configuration

Emmanuel Bouthenot преди 9 години
родител
ревизия
00bd792069
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      roles/common/templates/ssh/sshd_config.j2

+ 1 - 1
roles/common/templates/ssh/sshd_config.j2

@@ -117,7 +117,7 @@ AllowUsers {{ ssh_allowed_users | join(' ') }}
 AllowGroups {{ ssh_allowed_groups | join(' ') }}
 {% endif %}
 
-{% if ssh_local_config is defined %}
+{% if ssh_local_config is defined and ssh_local_config %}
 # Additional parameters
 {{ ssh_local_config|join('\n') }}
 {% endif %}