Skip to content

Commit 6594305

Browse files
committed
Add new configuration option CanonicalMatchUser on RHEL/CentOS
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
1 parent 327029b commit 6594305

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

meta/options_body

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ AuthorizedPrincipalsCommand
1818
AuthorizedPrincipalsCommandUser
1919
AuthorizedPrincipalsFile
2020
Banner
21+
CanonicalMatchUser
2122
CASignatureAlgorithms
2223
ChallengeResponseAuthentication
2324
ChannelTimeout

templates/sshd_config.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ Match {{ match["Condition"] }}
151151
{{ body_option("AuthorizedPrincipalsCommandUser",sshd_AuthorizedPrincipalsCommandUser) -}}
152152
{{ body_option("AuthorizedPrincipalsFile",sshd_AuthorizedPrincipalsFile) -}}
153153
{{ body_option("Banner",sshd_Banner) -}}
154+
{{ body_option("CanonicalMatchUser",sshd_CanonicalMatchUser) -}}
154155
{{ body_option("CASignatureAlgorithms",sshd_CASignatureAlgorithms) -}}
155156
{{ body_option("ChallengeResponseAuthentication",sshd_ChallengeResponseAuthentication) -}}
156157
{{ body_option("ChannelTimeout",sshd_ChannelTimeout) -}}

templates/sshd_config_snippet.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ Match {{ match["Condition"] }}
149149
{{ body_option("AuthorizedPrincipalsCommandUser",sshd_AuthorizedPrincipalsCommandUser) -}}
150150
{{ body_option("AuthorizedPrincipalsFile",sshd_AuthorizedPrincipalsFile) -}}
151151
{{ body_option("Banner",sshd_Banner) -}}
152+
{{ body_option("CanonicalMatchUser",sshd_CanonicalMatchUser) -}}
152153
{{ body_option("CASignatureAlgorithms",sshd_CASignatureAlgorithms) -}}
153154
{{ body_option("ChallengeResponseAuthentication",sshd_ChallengeResponseAuthentication) -}}
154155
{{ body_option("ChannelTimeout",sshd_ChannelTimeout) -}}

0 commit comments

Comments
 (0)