shell-things/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf

6 lines
150 B
Plaintext

# User Mikaela hates passwords and will only use keys.
Match User mikaela
PasswordAuthentication no
AuthenticationMethods publickey
Match All