sshd: explicitly "terminate" Match blocks by Match All

https://unix.stackexchange.com/a/303982/17126 & man sshd_config
This commit is contained in:
Aminda Suomalainen 2021-02-02 13:58:35 +02:00
parent 3260950712
commit 1be2720861
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
3 changed files with 3 additions and 0 deletions

View File

@ -7,3 +7,4 @@ Match User anoncvs,git,gitea
AllowTcpForwarding no
PermitTTY no
# ForceCommand cvs server
Match All

View File

@ -2,3 +2,4 @@
Match User mikaela
PasswordAuthentication no
AuthenticationMethods publickey
Match All

View File

@ -4,3 +4,4 @@
#Match User someone
# PasswordAuthentication yes
# AuthenticationMethods any
#Match All