From 0a0236b107d255941c75305e0689f52551774435 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Fri, 26 Sep 2008 17:23:39 -0400 Subject: fix a set of duplicated sshd words in the variables --- templates/sshd_config/CentOS_normal.erb | 2 +- templates/sshd_config/Debian_normal.erb | 2 +- templates/sshd_config/Gentoo_normal.erb | 2 +- templates/sshd_config/OpenBSD_normal.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/sshd_config/CentOS_normal.erb b/templates/sshd_config/CentOS_normal.erb index a5c9c89..dc57680 100644 --- a/templates/sshd_config/CentOS_normal.erb +++ b/templates/sshd_config/CentOS_normal.erb @@ -50,7 +50,7 @@ RSAAuthentication yes RSAAuthentication no <%- end %> -<%- if real_sshd_sshd_pubkey_authentication.to_s == 'yes' then %> +<%- if real_sshd_pubkey_authentication.to_s == 'yes' then %> PubkeyAuthentication yes <%- else %> PubkeyAuthentication no diff --git a/templates/sshd_config/Debian_normal.erb b/templates/sshd_config/Debian_normal.erb index 985840c..deed847 100644 --- a/templates/sshd_config/Debian_normal.erb +++ b/templates/sshd_config/Debian_normal.erb @@ -40,7 +40,7 @@ RSAAuthentication yes RSAAuthentication no <%- end %> -<%- if real_sshd_sshd_pubkey_authentication.to_s == 'yes' then %> +<%- if real_sshd_pubkey_authentication.to_s == 'yes' then %> PubkeyAuthentication yes <%- else %> PubkeyAuthentication no diff --git a/templates/sshd_config/Gentoo_normal.erb b/templates/sshd_config/Gentoo_normal.erb index ee27732..3feb4ea 100644 --- a/templates/sshd_config/Gentoo_normal.erb +++ b/templates/sshd_config/Gentoo_normal.erb @@ -53,7 +53,7 @@ RSAAuthentication yes RSAAuthentication no <%- end %> -<%- if real_sshd_sshd_pubkey_authentication.to_s == 'yes' then %> +<%- if real_sshd_pubkey_authentication.to_s == 'yes' then %> PubkeyAuthentication yes <%- else %> PubkeyAuthentication no diff --git a/templates/sshd_config/OpenBSD_normal.erb b/templates/sshd_config/OpenBSD_normal.erb index 3043922..47d4a08 100644 --- a/templates/sshd_config/OpenBSD_normal.erb +++ b/templates/sshd_config/OpenBSD_normal.erb @@ -46,7 +46,7 @@ RSAAuthentication yes RSAAuthentication no <%- end %> -<%- if real_sshd_sshd_pubkey_authentication.to_s == 'yes' then %> +<%- if real_sshd_pubkey_authentication.to_s == 'yes' then %> PubkeyAuthentication yes <%- else %> PubkeyAuthentication no -- cgit v1.2.3