Skip to content

Instantly share code, notes, and snippets.

@jimtalksdata
Created December 15, 2018 17:00
Show Gist options
  • Save jimtalksdata/6e4c1e29a11c84aa793a8070f9ff7c9d to your computer and use it in GitHub Desktop.
Save jimtalksdata/6e4c1e29a11c84aa793a8070f9ff7c9d to your computer and use it in GitHub Desktop.
Patches password authentication to no on default Hetzner Ubuntu 16.04
--- /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