php/sshd_config.patch

19 lines
528 B
Diff
Raw Normal View History

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