diff --git a/README.md b/README.md index 3d8bd59..bfc4f91 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/meta/options_match b/meta/options_match index e395ede..6ef9214 100644 --- a/meta/options_match +++ b/meta/options_match @@ -49,6 +49,7 @@ RekeyLimit RevokedKeys RhostsRSAAuthentication RSAAuthentication +RSAMinSize SetEnv StreamLocalBindMask StreamLocalBindUnlink diff --git a/templates/sshd_config.j2 b/templates/sshd_config.j2 index 394c709..9196244 100644 --- a/templates/sshd_config.j2 +++ b/templates/sshd_config.j2 @@ -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) -}} diff --git a/templates/sshd_config_snippet.j2 b/templates/sshd_config_snippet.j2 index bfe610b..db09363 100644 --- a/templates/sshd_config_snippet.j2 +++ b/templates/sshd_config_snippet.j2 @@ -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) -}}