mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
sshd: explicitly "terminate" Match blocks by Match All
https://unix.stackexchange.com/a/303982/17126 & man sshd_config
This commit is contained in:
parent
3260950712
commit
1be2720861
@ -7,3 +7,4 @@ Match User anoncvs,git,gitea
|
||||
AllowTcpForwarding no
|
||||
PermitTTY no
|
||||
# ForceCommand cvs server
|
||||
Match All
|
||||
|
@ -2,3 +2,4 @@
|
||||
Match User mikaela
|
||||
PasswordAuthentication no
|
||||
AuthenticationMethods publickey
|
||||
Match All
|
||||
|
@ -4,3 +4,4 @@
|
||||
#Match User someone
|
||||
# PasswordAuthentication yes
|
||||
# AuthenticationMethods any
|
||||
#Match All
|
||||
|
Loading…
Reference in New Issue
Block a user