ansible/roles/container/templates/sshd_config.j2

18 lines
351 B
Plaintext
Raw Normal View History

Port 22
2014-12-13 18:52:56 +00:00
{% if ssh_ldap %}
AuthorizedKeysCommand /usr/lib/openssh-ldap-helper/openssh-ldap-helper
AuthorizedKeysCommandUser root
{% else %}
AuthorizedKeysFile .ssh/authorized_keys
2014-12-13 18:52:56 +00:00
{% endif %}
PasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM yes
PrintMotd no
UsePrivilegeSeparation sandbox
Subsystem sftp /usr/lib/ssh/sftp-server