summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp16
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',