From a9b25a522a1af142e7de8c669941df10a5c5179a Mon Sep 17 00:00:00 2001 From: Adam Henry Lewenberg <adamhl@stanford.edu> Date: Thu, 5 Nov 2015 12:55:23 -0800 Subject: [PATCH] whitespace fix --- templates/ssh/sshd_config.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/ssh/sshd_config.erb b/templates/ssh/sshd_config.erb index 2ec0b43..5583772 100644 --- a/templates/ssh/sshd_config.erb +++ b/templates/ssh/sshd_config.erb @@ -65,13 +65,12 @@ GSSAPIStoreCredentialsOnRekey yes <% if (@operatingsystem == 'Ubuntu') then -%> GSSAPIStoreCredentialsOnRekey yes <% end -%> - <% if (@pam_duo) then -%> + # Require both (GSS-API|PASSWORD) and PAM. AuthenticationMethods gssapi-with-mic,keyboard-interactive:pam password,keyboard-interactive:pam KerberosAuthentication yes <% end -%> - <%- if (@rootloginwithpswd == 'yes') -%> # Allow root login with a password (use with care!) PermitRootLogin yes -- GitLab