summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-12-11 09:35:34 +0100
committermh <mh@immerda.ch>2009-12-11 09:35:34 +0100
commitcaccb4deb508b91f1599e9f57e7792337f582e18 (patch)
treeb930bcd01e048e68fc230b8fd8087f3c77d6cc16 /templates
parentdac25a5c68a5aa66bcf67f5c624608907b98a451 (diff)
set protocol 2 for centos, required.
Diffstat (limited to 'templates')
-rw-r--r--templates/sshd_config/CentOS.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/sshd_config/CentOS.erb b/templates/sshd_config/CentOS.erb
index a253029..e1c8419 100644
--- a/templates/sshd_config/CentOS.erb
+++ b/templates/sshd_config/CentOS.erb
@@ -14,6 +14,8 @@
<%= sshd_head_additional_options %>
<%- end %>
+# only protocol 2
+Protocol 2
<%- unless sshd_port.to_s.empty? then -%>
<%- if sshd_port.to_s == 'off' then -%>
#Port -- disabled by puppet