Created
December 15, 2018 17:00
-
-
Save jimtalksdata/6e4c1e29a11c84aa793a8070f9ff7c9d to your computer and use it in GitHub Desktop.
Patches password authentication to no on default Hetzner Ubuntu 16.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /etc/ssh/sshd_config 2018-09-24 12:25:35.136821000 +0200 | |
+++ /root/sshd_config 2018-12-14 04:42:23.889907193 +0100 | |
@@ -53,6 +53,7 @@ | |
#IgnoreRhosts yes | |
# To disable tunneled clear text passwords, change to no here! | |
+PasswordAuthentication no | |
#PasswordAuthentication yes | |
#PermitEmptyPasswords no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment