mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-10 05:33:29 +01:00
Add parameter RSAMinSize to Match blocks
This is a follow-on to https://github.com/willshersystems/ansible-sshd/pull/194 The previous PR added RSAMinSize as an option for the "body" of the config file, but not for Match blocks.
This commit is contained in:
parent
9f3eb191ea
commit
1bc8395ea8
4 changed files with 5 additions and 2 deletions
|
@ -360,9 +360,9 @@ Template Generation
|
|||
The [`sshd_config.j2`](templates/sshd_config.j2) and
|
||||
[`sshd_config_snippet.j2`](templates/sshd_config_snippet.j2) templates are
|
||||
programatically generated by the scripts in meta. New options should be added
|
||||
to the `options_body` or `options_match`.
|
||||
to the `options_body` and/or `options_match`.
|
||||
|
||||
To regenerate the template, from within the `meta/` directory run:
|
||||
To regenerate the templates, from within the `meta/` directory run:
|
||||
`./make_option_lists`
|
||||
|
||||
License
|
||||
|
|
|
@ -49,6 +49,7 @@ RekeyLimit
|
|||
RevokedKeys
|
||||
RhostsRSAAuthentication
|
||||
RSAAuthentication
|
||||
RSAMinSize
|
||||
SetEnv
|
||||
StreamLocalBindMask
|
||||
StreamLocalBindUnlink
|
||||
|
|
|
@ -90,6 +90,7 @@ Match {{ match["Condition"] }}
|
|||
{{ render_option("RevokedKeys",match["RevokedKeys"],true) -}}
|
||||
{{ render_option("RhostsRSAAuthentication",match["RhostsRSAAuthentication"],true) -}}
|
||||
{{ render_option("RSAAuthentication",match["RSAAuthentication"],true) -}}
|
||||
{{ render_option("RSAMinSize",match["RSAMinSize"],true) -}}
|
||||
{{ render_option("SetEnv",match["SetEnv"],true) -}}
|
||||
{{ render_option("StreamLocalBindMask",match["StreamLocalBindMask"],true) -}}
|
||||
{{ render_option("StreamLocalBindUnlink",match["StreamLocalBindUnlink"],true) -}}
|
||||
|
|
|
@ -89,6 +89,7 @@ Match {{ match["Condition"] }}
|
|||
{{ render_option("RevokedKeys",match["RevokedKeys"],true) -}}
|
||||
{{ render_option("RhostsRSAAuthentication",match["RhostsRSAAuthentication"],true) -}}
|
||||
{{ render_option("RSAAuthentication",match["RSAAuthentication"],true) -}}
|
||||
{{ render_option("RSAMinSize",match["RSAMinSize"],true) -}}
|
||||
{{ render_option("SetEnv",match["SetEnv"],true) -}}
|
||||
{{ render_option("StreamLocalBindMask",match["StreamLocalBindMask"],true) -}}
|
||||
{{ render_option("StreamLocalBindUnlink",match["StreamLocalBindUnlink"],true) -}}
|
||||
|
|
Loading…
Reference in a new issue