diff options
author | Micah Anderson <micah@riseup.net> | 2008-09-26 17:34:09 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-09-26 17:44:16 -0400 |
commit | 06163fbb920bf7f8dbb7ae2018e1f861003ed9ce (patch) | |
tree | c299cb9d7ce8cb2e9b55ed659e69c85fd6b1615a /manifests/init.pp | |
parent | 9edd2705d4c59ac8cb75a67b587d06d32cb5e6c6 (diff) | |
download | puppet-sshd-06163fbb920bf7f8dbb7ae2018e1f861003ed9ce.tar.gz puppet-sshd-06163fbb920bf7f8dbb7ae2018e1f861003ed9ce.tar.bz2 |
added sshd_rhosts_rsa_authentication variable, default set to no
added sshd_hostbased_authentication variable, default set to no
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index cf089bc..02f2e42 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -60,6 +60,14 @@ # Valid Values: yes or no # Default: no # +# sshd_rhosts_rsa_authentication: If you want to enable rhosts RSA Authentication +# Valid Values: yes or no +# Default: no +# +# sshd_hostbased_authentication: If you want to enable HostbasedAuthentication +# Valid Values: yes or no +# Default: no +# # sshd_strict_modes: If you want to set StrictModes (check file modes/ownership before accepting login) # Valid Values: yes or no # Default: yes @@ -125,6 +133,14 @@ class sshd::base { '' => 'yes', default => $sshd_ignore_rhosts } + $real_sshd_rhosts_rsa_authentication = $sshd_rhosts_rsa_authentication ? { + '' => 'no', + default => $sshd_rhosts_rsa_authentication + } + $real_sshd_hostbased_authentication = $sshd_hostbased_authentication ? { + '' => 'no', + default => $sshd_hostbased_authentication + } file { 'sshd_config': path => '/etc/ssh/sshd_config', |