From: mh Date: Fri, 11 Dec 2009 08:35:34 +0000 (+0100) Subject: set protocol 2 for centos, required. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=caccb4deb508b91f1599e9f57e7792337f582e18;p=puppet-sshd.git set protocol 2 for centos, required. --- 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