diff --git a/etc/ssh/sshd_config.d/anoncvs.conf b/etc/ssh/sshd_config.d/anoncvs.conf index be68f108..96450f5d 100644 --- a/etc/ssh/sshd_config.d/anoncvs.conf +++ b/etc/ssh/sshd_config.d/anoncvs.conf @@ -7,3 +7,4 @@ Match User anoncvs,git,gitea AllowTcpForwarding no PermitTTY no # ForceCommand cvs server +Match All diff --git a/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf b/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf index d7022f64..4a2971de 100644 --- a/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf +++ b/etc/ssh/sshd_config.d/mikaela-prohibit-password.conf @@ -2,3 +2,4 @@ Match User mikaela PasswordAuthentication no AuthenticationMethods publickey +Match All diff --git a/etc/ssh/sshd_config.d/user-permit-password.conf b/etc/ssh/sshd_config.d/user-permit-password.conf index 4b7a553d..1b244470 100644 --- a/etc/ssh/sshd_config.d/user-permit-password.conf +++ b/etc/ssh/sshd_config.d/user-permit-password.conf @@ -4,3 +4,4 @@ #Match User someone # PasswordAuthentication yes # AuthenticationMethods any +#Match All