wordpress/sshd_config.patch

30 lines
795 B
Diff
Raw Normal View History

2017-12-17 13:18:10 +00:00
--- /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
2018-02-05 11:35:13 +00:00
@@ -15,8 +15,8 @@
#ListenAddress 0.0.0.0
#ListenAddress ::
-#HostKey /etc/ssh/ssh_host_rsa_key
-#HostKey /etc/ssh/ssh_host_ecdsa_key
+HostKey /etc/ssh/ssh_host_rsa_key
+HostKey /etc/ssh/ssh_host_ecdsa_key
#HostKey /etc/ssh/ssh_host_ed25519_key
# Ciphers and keying
2017-12-17 13:18:10 +00:00
@@ -30,6 +30,7 @@
2017-12-13 10:54:20 +00:00
2017-12-17 13:18:10 +00:00
#LoginGraceTime 2m
#PermitRootLogin prohibit-password
2017-12-13 10:54:20 +00:00
+PermitRootLogin no
2017-12-17 13:18:10 +00:00
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
@@ -54,6 +55,7 @@
2017-12-13 10:54:20 +00:00
2017-12-17 13:18:10 +00:00
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
2017-12-13 10:54:20 +00:00
+PasswordAuthentication no
2017-12-17 13:18:10 +00:00
#PermitEmptyPasswords no
2017-12-13 10:54:20 +00:00
2017-12-17 13:18:10 +00:00
# Change to yes to enable challenge-response passwords (beware issues with