From de3a0739b4fd64c61c4ccd4225331c8abe4504c9 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sat, 30 Jan 2021 20:50:21 +0200 Subject: [PATCH] sshd_config.d: add mikaela-prohibit-password.conf Resolves: #88 --- etc/ssh/sshd_config.d/mikaela-prohibit-password.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 etc/ssh/sshd_config.d/mikaela-prohibit-password.conf diff --git a/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf b/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf new file mode 100644 index 00000000..05979b0c --- /dev/null +++ b/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf @@ -0,0 +1,3 @@ +# User Mikaela hates passwords and will only use keys. +Match User mikaela + PasswordAuthentication no