shell-things/etc/ssh/sshd_config.d/broken/mikaela-prohibit-password.conf
Mikaela Suomalainen 288b010fe5
sshd: move mikaela-prohibit-password.conf to broken/
Apparently OpenSSH only allows PasswordAuthentication yes within a Match
block.
2021-02-02 14:12:43 +02:00

8 lines
258 B
Plaintext

# User Mikaela hates passwords and will only use keys. This may only work
# in reverse so this file is useless. https://serverfault.com/a/461865
# & OpenSSH_8.4p1
Match User mikaela
PasswordAuthentication no
AuthenticationMethods publickey
Match All