Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3748066
D2219.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
479 B
Referenced Files
None
Subscribers
None
D2219.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D2219: Don't allow direct login as root through SSH
Attached
Detach File
Event Timeline
Log In to Comment