aboutsummaryrefslogtreecommitdiff
path: root/templates/sshd_config/CentOS_normal.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sshd_config/CentOS_normal.erb')
-rw-r--r--templates/sshd_config/CentOS_normal.erb7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/sshd_config/CentOS_normal.erb b/templates/sshd_config/CentOS_normal.erb
index b0bea46..a5c9c89 100644
--- a/templates/sshd_config/CentOS_normal.erb
+++ b/templates/sshd_config/CentOS_normal.erb
@@ -44,7 +44,12 @@ PermitRootLogin without-password
#StrictModes yes
#MaxAuthTries 6
-#RSAAuthentication yes
+<%- if real_sshd_rsa_authentication.to_s == 'yes' then %>
+RSAAuthentication yes
+<%- else %>
+RSAAuthentication no
+<%- end %>
+
<%- if real_sshd_sshd_pubkey_authentication.to_s == 'yes' then %>
PubkeyAuthentication yes
<%- else %>