Quellcode durchsuchen

Tiny fixes in SSH configuration

Emmanuel Bouthenot vor 9 Jahren
Ursprung
Commit
00bd792069
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 %}