diff --git a/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf b/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf index 05979b0c..d7022f64 100644 --- a/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf +++ b/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf @@ -1,3 +1,4 @@ # User Mikaela hates passwords and will only use keys. Match User mikaela PasswordAuthentication no + AuthenticationMethods publickey