Explorar el Código

Tiny fixes in SSH configuration

Emmanuel Bouthenot hace 9 años
padre
commit
00bd792069
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 %}