Page MenuHomeDevCentral

D2219.diff
No OneTemporary

D2219.diff

diff --git a/roles/core/sshd/files/sshd_config b/roles/core/sshd/files/sshd_config
--- a/roles/core/sshd/files/sshd_config
+++ b/roles/core/sshd/files/sshd_config
@@ -31,6 +31,10 @@
ChallengeResponseAuthentication no
UsePAM yes
+# Once the core role has been applied to a server, ops users have been created
+# and sudo configured. We can so forbid direct root login.
+PermitRootLogin no
+
# Misc options
PrintMotd {{ "yes" if print_motd else "no" }}
AcceptEnv LANG LC_*

File Metadata

Mime Type
text/plain
Expires
Thu, May 1, 20:05 (4 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2622358
Default Alt Text
D2219.diff (479 B)

Event Timeline