Page MenuHomeDevCentral

D2219.id.diff
No OneTemporary

D2219.id.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
Sun, Nov 17, 06:30 (17 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248824
Default Alt Text
D2219.id.diff (479 B)

Event Timeline