Skip to content

Commit

Permalink
in el9 the system security policies are added at the end of the sshd …
Browse files Browse the repository at this point in the history
…config and if we do not add a "Match all" it will be interpretted under the level of the match (#192)

Signed-off-by: Mike van Goor <[email protected]>
  • Loading branch information
mvangoor authored Nov 27, 2024
1 parent 09010ee commit d5a632e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This file is used to list changes made in each version of the openssh cookbook.

## Unreleased

- In more recent enterprise linux (rhel, oel, etc) systems system policies are added at end of sshd config and therefor any match block needs to be closed

## 2.11.14 - *2024-11-18*

Standardise files with files in sous-chefs/repo-management
Expand Down
1 change: 1 addition & 0 deletions templates/sshd_config.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ Match <%= match_key.sub(/^[0-9]+/, '').strip %>
<% end -%>
<% end -%>
<% end -%>
Match all
<% end -%>

0 comments on commit d5a632e

Please sign in to comment.