Skip to content
Snippets Groups Projects
Commit ae1e2e43 authored by David Mehren's avatar David Mehren
Browse files

Always prohibit root login with password.

parent b4835063
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ Port {{ item }}
ListenAddress {{ item }}
{% endfor %}
PermitRootLogin {{ 'yes' if sshd_permit_root_login else 'no' }}
PermitRootLogin {{ 'prohibit-password' if sshd_permit_root_login else 'no' }}
PubkeyAuthentication {{ 'yes' if sshd_allow_pubkeys else 'no' }}
PasswordAuthentication {{ 'yes' if sshd_allow_passwords else 'no' }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment