From 7ad17f80879831f243ca189bb3380f20468ec1fe Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 1 Feb 2021 17:11:06 +0200 Subject: [PATCH] sshd/user-permit-password.conf: note on how to allow specific user to use passwords --- etc/ssh/sshd_config.d/user-permit-password.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 etc/ssh/sshd_config.d/user-permit-password.conf diff --git a/etc/ssh/sshd_config.d/user-permit-password.conf b/etc/ssh/sshd_config.d/user-permit-password.conf new file mode 100644 index 00000000..4b7a553d --- /dev/null +++ b/etc/ssh/sshd_config.d/user-permit-password.conf @@ -0,0 +1,6 @@ +# This is the opposite of mikaela-prohibit-password.conf and shouldn't be +# used, that is why it's in comments + +#Match User someone +# PasswordAuthentication yes +# AuthenticationMethods any