diff options
Diffstat (limited to 'modules/openssh/templates')
-rw-r--r-- | modules/openssh/templates/sshd_config | 4 | ||||
-rw-r--r-- | modules/openssh/templates/sshd_config_ldap | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/modules/openssh/templates/sshd_config b/modules/openssh/templates/sshd_config index d3f776e1..f478e0e4 100644 --- a/modules/openssh/templates/sshd_config +++ b/modules/openssh/templates/sshd_config @@ -45,10 +45,6 @@ PermitRootLogin without-password #PubkeyAuthentication yes #AuthorizedKeysFile .ssh/authorized_keys -<% if all_tags.include?('openssh::ssh_keys_from_ldap') %> -AuthorizedKeysFile /var/lib/config/pubkeys/%u/authorized_keys -<% end %> - # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts #RhostsRSAAuthentication no diff --git a/modules/openssh/templates/sshd_config_ldap b/modules/openssh/templates/sshd_config_ldap new file mode 100644 index 00000000..1291c8fe --- /dev/null +++ b/modules/openssh/templates/sshd_config_ldap @@ -0,0 +1,3 @@ + +AuthorizedKeysFile /var/lib/config/pubkeys/%u/authorized_keys + |