You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
339 B
Plaintext
14 lines
339 B
Plaintext
2 years ago
|
{{ ansible_managed | comment }}
|
||
|
{% if ansible_os_family == "Ubuntu" %}
|
||
|
Include /etc/ssh/sshd_config.d/*.conf
|
||
|
|
||
|
{% endif %}
|
||
|
AuthorizedKeysFile /etc/ssh/authorized_keys/%u
|
||
|
PermitRootLogin no
|
||
|
PasswordAuthentication no
|
||
|
ChallengeResponseAuthentication no
|
||
|
UsePAM yes
|
||
|
AcceptEnv LANG LC_*
|
||
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
||
|
PrintMotd yes
|