Skip to content

Commit

Permalink
Add configuration options from EL7
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakuje committed Sep 27, 2022
1 parent ddb2861 commit 1c4197e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meta/options_body
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ DebianBanner
DenyGroups
DenyUsers
DisableForwarding
ExposeAuthenticationMethods
ExposeAuthInfo
FingerprintHash
ForceCommand
Expand Down Expand Up @@ -99,6 +100,7 @@ RhostsRSAAuthentication
SecurityKeyProvider
SetEnv
ServerKeyBits
ShowPatchLevel
StreamLocalBindMask
StreamLocalBindUnlink
StrictModes
Expand Down
2 changes: 2 additions & 0 deletions templates/sshd_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ Match {{ match["Condition"] }}
{{ body_option("DenyGroups",sshd_DenyGroups) -}}
{{ body_option("DenyUsers",sshd_DenyUsers) -}}
{{ body_option("DisableForwarding",sshd_DisableForwarding) -}}
{{ body_option("ExposeAuthenticationMethods",sshd_ExposeAuthenticationMethods) -}}
{{ body_option("ExposeAuthInfo",sshd_ExposeAuthInfo) -}}
{{ body_option("FingerprintHash",sshd_FingerprintHash) -}}
{{ body_option("ForceCommand",sshd_ForceCommand) -}}
Expand Down Expand Up @@ -214,6 +215,7 @@ Match {{ match["Condition"] }}
{{ body_option("SecurityKeyProvider",sshd_SecurityKeyProvider) -}}
{{ body_option("SetEnv",sshd_SetEnv) -}}
{{ body_option("ServerKeyBits",sshd_ServerKeyBits) -}}
{{ body_option("ShowPatchLevel",sshd_ShowPatchLevel) -}}
{{ body_option("StreamLocalBindMask",sshd_StreamLocalBindMask) -}}
{{ body_option("StreamLocalBindUnlink",sshd_StreamLocalBindUnlink) -}}
{{ body_option("StrictModes",sshd_StrictModes) -}}
Expand Down
2 changes: 2 additions & 0 deletions templates/sshd_config_snippet.j2
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ Match {{ match["Condition"] }}
{{ body_option("DenyGroups",sshd_DenyGroups) -}}
{{ body_option("DenyUsers",sshd_DenyUsers) -}}
{{ body_option("DisableForwarding",sshd_DisableForwarding) -}}
{{ body_option("ExposeAuthenticationMethods",sshd_ExposeAuthenticationMethods) -}}
{{ body_option("ExposeAuthInfo",sshd_ExposeAuthInfo) -}}
{{ body_option("FingerprintHash",sshd_FingerprintHash) -}}
{{ body_option("ForceCommand",sshd_ForceCommand) -}}
Expand Down Expand Up @@ -213,6 +214,7 @@ Match {{ match["Condition"] }}
{{ body_option("SecurityKeyProvider",sshd_SecurityKeyProvider) -}}
{{ body_option("SetEnv",sshd_SetEnv) -}}
{{ body_option("ServerKeyBits",sshd_ServerKeyBits) -}}
{{ body_option("ShowPatchLevel",sshd_ShowPatchLevel) -}}
{{ body_option("StreamLocalBindMask",sshd_StreamLocalBindMask) -}}
{{ body_option("StreamLocalBindUnlink",sshd_StreamLocalBindUnlink) -}}
{{ body_option("StrictModes",sshd_StrictModes) -}}
Expand Down

0 comments on commit 1c4197e

Please sign in to comment.