feat: Add missing configuration options available in Match block

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Jakub Jelen 2023-06-15 11:10:16 +02:00 committed by Jakub Jelen
parent 484da0584b
commit 039aa32606
3 changed files with 9 additions and 0 deletions

View file

@ -12,6 +12,7 @@ AuthorizedPrincipalsCommand
AuthorizedPrincipalsCommandUser AuthorizedPrincipalsCommandUser
AuthorizedPrincipalsFile AuthorizedPrincipalsFile
Banner Banner
CASignatureAlgorithms
ChrootDirectory ChrootDirectory
ChannelTimeout ChannelTimeout
ClientAliveCountMax ClientAliveCountMax
@ -19,6 +20,7 @@ ClientAliveInterval
DenyGroups DenyGroups
DenyUsers DenyUsers
DisableForwarding DisableForwarding
ExposeAuthInfo
ForceCommand ForceCommand
GatewayPorts GatewayPorts
GSSAPIAuthentication GSSAPIAuthentication
@ -45,6 +47,7 @@ PermitUserRC
PubkeyAcceptedKeyTypes PubkeyAcceptedKeyTypes
PubkeyAcceptedAlgorithms PubkeyAcceptedAlgorithms
PubkeyAuthentication PubkeyAuthentication
PubkeyAuthOptions
RDomain RDomain
RekeyLimit RekeyLimit
RevokedKeys RevokedKeys

View file

@ -58,6 +58,7 @@ Match {{ match["Condition"] }}
{{ render_option("AuthorizedPrincipalsCommandUser",match["AuthorizedPrincipalsCommandUser"],true) -}} {{ render_option("AuthorizedPrincipalsCommandUser",match["AuthorizedPrincipalsCommandUser"],true) -}}
{{ render_option("AuthorizedPrincipalsFile",match["AuthorizedPrincipalsFile"],true) -}} {{ render_option("AuthorizedPrincipalsFile",match["AuthorizedPrincipalsFile"],true) -}}
{{ render_option("Banner",match["Banner"],true) -}} {{ render_option("Banner",match["Banner"],true) -}}
{{ render_option("CASignatureAlgorithms",match["CASignatureAlgorithms"],true) -}}
{{ render_option("ChrootDirectory",match["ChrootDirectory"],true) -}} {{ render_option("ChrootDirectory",match["ChrootDirectory"],true) -}}
{{ render_option("ChannelTimeout",match["ChannelTimeout"],true) -}} {{ render_option("ChannelTimeout",match["ChannelTimeout"],true) -}}
{{ render_option("ClientAliveCountMax",match["ClientAliveCountMax"],true) -}} {{ render_option("ClientAliveCountMax",match["ClientAliveCountMax"],true) -}}
@ -65,6 +66,7 @@ Match {{ match["Condition"] }}
{{ render_option("DenyGroups",match["DenyGroups"],true) -}} {{ render_option("DenyGroups",match["DenyGroups"],true) -}}
{{ render_option("DenyUsers",match["DenyUsers"],true) -}} {{ render_option("DenyUsers",match["DenyUsers"],true) -}}
{{ render_option("DisableForwarding",match["DisableForwarding"],true) -}} {{ render_option("DisableForwarding",match["DisableForwarding"],true) -}}
{{ render_option("ExposeAuthInfo",match["ExposeAuthInfo"],true) -}}
{{ render_option("ForceCommand",match["ForceCommand"],true) -}} {{ render_option("ForceCommand",match["ForceCommand"],true) -}}
{{ render_option("GatewayPorts",match["GatewayPorts"],true) -}} {{ render_option("GatewayPorts",match["GatewayPorts"],true) -}}
{{ render_option("GSSAPIAuthentication",match["GSSAPIAuthentication"],true) -}} {{ render_option("GSSAPIAuthentication",match["GSSAPIAuthentication"],true) -}}
@ -91,6 +93,7 @@ Match {{ match["Condition"] }}
{{ render_option("PubkeyAcceptedKeyTypes",match["PubkeyAcceptedKeyTypes"],true) -}} {{ render_option("PubkeyAcceptedKeyTypes",match["PubkeyAcceptedKeyTypes"],true) -}}
{{ render_option("PubkeyAcceptedAlgorithms",match["PubkeyAcceptedAlgorithms"],true) -}} {{ render_option("PubkeyAcceptedAlgorithms",match["PubkeyAcceptedAlgorithms"],true) -}}
{{ render_option("PubkeyAuthentication",match["PubkeyAuthentication"],true) -}} {{ render_option("PubkeyAuthentication",match["PubkeyAuthentication"],true) -}}
{{ render_option("PubkeyAuthOptions",match["PubkeyAuthOptions"],true) -}}
{{ render_option("RDomain",match["RDomain"],true) -}} {{ render_option("RDomain",match["RDomain"],true) -}}
{{ render_option("RekeyLimit",match["RekeyLimit"],true) -}} {{ render_option("RekeyLimit",match["RekeyLimit"],true) -}}
{{ render_option("RevokedKeys",match["RevokedKeys"],true) -}} {{ render_option("RevokedKeys",match["RevokedKeys"],true) -}}

View file

@ -56,6 +56,7 @@ Match {{ match["Condition"] }}
{{ render_option("AuthorizedPrincipalsCommandUser",match["AuthorizedPrincipalsCommandUser"],true) -}} {{ render_option("AuthorizedPrincipalsCommandUser",match["AuthorizedPrincipalsCommandUser"],true) -}}
{{ render_option("AuthorizedPrincipalsFile",match["AuthorizedPrincipalsFile"],true) -}} {{ render_option("AuthorizedPrincipalsFile",match["AuthorizedPrincipalsFile"],true) -}}
{{ render_option("Banner",match["Banner"],true) -}} {{ render_option("Banner",match["Banner"],true) -}}
{{ render_option("CASignatureAlgorithms",match["CASignatureAlgorithms"],true) -}}
{{ render_option("ChrootDirectory",match["ChrootDirectory"],true) -}} {{ render_option("ChrootDirectory",match["ChrootDirectory"],true) -}}
{{ render_option("ChannelTimeout",match["ChannelTimeout"],true) -}} {{ render_option("ChannelTimeout",match["ChannelTimeout"],true) -}}
{{ render_option("ClientAliveCountMax",match["ClientAliveCountMax"],true) -}} {{ render_option("ClientAliveCountMax",match["ClientAliveCountMax"],true) -}}
@ -63,6 +64,7 @@ Match {{ match["Condition"] }}
{{ render_option("DenyGroups",match["DenyGroups"],true) -}} {{ render_option("DenyGroups",match["DenyGroups"],true) -}}
{{ render_option("DenyUsers",match["DenyUsers"],true) -}} {{ render_option("DenyUsers",match["DenyUsers"],true) -}}
{{ render_option("DisableForwarding",match["DisableForwarding"],true) -}} {{ render_option("DisableForwarding",match["DisableForwarding"],true) -}}
{{ render_option("ExposeAuthInfo",match["ExposeAuthInfo"],true) -}}
{{ render_option("ForceCommand",match["ForceCommand"],true) -}} {{ render_option("ForceCommand",match["ForceCommand"],true) -}}
{{ render_option("GatewayPorts",match["GatewayPorts"],true) -}} {{ render_option("GatewayPorts",match["GatewayPorts"],true) -}}
{{ render_option("GSSAPIAuthentication",match["GSSAPIAuthentication"],true) -}} {{ render_option("GSSAPIAuthentication",match["GSSAPIAuthentication"],true) -}}
@ -89,6 +91,7 @@ Match {{ match["Condition"] }}
{{ render_option("PubkeyAcceptedKeyTypes",match["PubkeyAcceptedKeyTypes"],true) -}} {{ render_option("PubkeyAcceptedKeyTypes",match["PubkeyAcceptedKeyTypes"],true) -}}
{{ render_option("PubkeyAcceptedAlgorithms",match["PubkeyAcceptedAlgorithms"],true) -}} {{ render_option("PubkeyAcceptedAlgorithms",match["PubkeyAcceptedAlgorithms"],true) -}}
{{ render_option("PubkeyAuthentication",match["PubkeyAuthentication"],true) -}} {{ render_option("PubkeyAuthentication",match["PubkeyAuthentication"],true) -}}
{{ render_option("PubkeyAuthOptions",match["PubkeyAuthOptions"],true) -}}
{{ render_option("RDomain",match["RDomain"],true) -}} {{ render_option("RDomain",match["RDomain"],true) -}}
{{ render_option("RekeyLimit",match["RekeyLimit"],true) -}} {{ render_option("RekeyLimit",match["RekeyLimit"],true) -}}
{{ render_option("RevokedKeys",match["RevokedKeys"],true) -}} {{ render_option("RevokedKeys",match["RevokedKeys"],true) -}}