diff --git a/templates/sshd_config.erb b/templates/sshd_config.erb index 23a1a70..0fe8a8c 100644 --- a/templates/sshd_config.erb +++ b/templates/sshd_config.erb @@ -203,8 +203,8 @@ AllowUsers <%= @sshd_config_allowusers_real.join(' ') %> <% if @sshd_config_allowgroups -%> AllowGroups <%= @sshd_config_allowgroups_real.join(' ') %> <% end -%> - <% if @sshd_config_match -%> + <% @sshd_config_match.sort.each do |key, hash| -%> Match <%= key %> <% hash.sort.each do |values| -%>