shell-things/etc/ssh/sshd_config.d/user-permit-password.conf

12 lines
421 B
Plaintext
Raw Normal View History

# This is the opposite of mikaela-prohibit-password.conf and shouldn't be
# used, that is why it's in comments.
# As of OpenSSH_8.4p1 this may be the only way this works, with globally
# blocking passwords, but accepting only specific users to use passwords.
# https://serverfault.com/a/461865 OpenSSH_8.4p1
#Match User someone,somebodyelse,whoever
2023-02-21 18:08:54 +01:00
# PasswordAuthentication yes
# AuthenticationMethods any
#Match All