diff --git a/templates/sshd_config.erb b/templates/sshd_config.erb index 74f479699..2c79d9eef 100644 --- a/templates/sshd_config.erb +++ b/templates/sshd_config.erb @@ -38,7 +38,7 @@ ListenAddress <%= listen %> <%- v.each do |a| -%> <%= k %> <%= a %> <%- end -%> -<%- else -%> +<%- elsif v != :undef -%> <%= k %> <%= v %> <%- end -%> <%- end -%>