diff options
author | Micah Anderson <micah@riseup.net> | 2008-09-26 17:21:01 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-09-26 17:21:01 -0400 |
commit | 19b49e80ee3b468ce1754f7b5dd62995f37b5e86 (patch) | |
tree | 1083dbf2418aee8ab06e7e0033c2e27e9946f6f5 /templates/sshd_config/Debian_normal.erb | |
parent | 6f5a865b583b1cc2c51484ce03f88be52e2c5b8d (diff) | |
download | puppet-sshd-19b49e80ee3b468ce1754f7b5dd62995f37b5e86.tar.gz puppet-sshd-19b49e80ee3b468ce1754f7b5dd62995f37b5e86.tar.bz2 |
add the sshd_rsa_authentication option, default set to no
Diffstat (limited to 'templates/sshd_config/Debian_normal.erb')
-rw-r--r-- | templates/sshd_config/Debian_normal.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/sshd_config/Debian_normal.erb b/templates/sshd_config/Debian_normal.erb index d105ecc..985840c 100644 --- a/templates/sshd_config/Debian_normal.erb +++ b/templates/sshd_config/Debian_normal.erb @@ -34,7 +34,12 @@ PermitRootLogin without-password <%- end %> StrictModes yes +<%- if real_sshd_rsa_authentication.to_s == 'yes' then %> RSAAuthentication yes +<%- else %> +RSAAuthentication no +<%- end %> + <%- if real_sshd_sshd_pubkey_authentication.to_s == 'yes' then %> PubkeyAuthentication yes <%- else %> |