mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-09 10:09:23 +01:00
Mikaela Suomalainen
288b010fe5
Apparently OpenSSH only allows PasswordAuthentication yes within a Match block.
12 lines
404 B
Plaintext
12 lines
404 B
Plaintext
# 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
|
|
# PasswordAuthentication yes
|
|
# AuthenticationMethods any
|
|
#Match All
|