From caccb4deb508b91f1599e9f57e7792337f582e18 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 11 Dec 2009 09:35:34 +0100 Subject: set protocol 2 for centos, required. --- templates/sshd_config/CentOS.erb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates') 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 -- cgit v1.2.3