wordpress/sshd_config.patch
2017-12-18 00:18:10 +11:00

19 lines
522 B
Diff

--- /etc/ssh/sshd_config.orig 2017-12-17 13:08:18.460496574 +0000
+++ /etc/ssh/sshd_config 2017-12-17 13:10:01.093459593 +0000
@@ -30,6 +30,7 @@
#LoginGraceTime 2m
#PermitRootLogin prohibit-password
+PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
@@ -54,6 +55,7 @@
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
+PasswordAuthentication no
#PermitEmptyPasswords no
# Change to yes to enable challenge-response passwords (beware issues with