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
|
AllowTcpForwarding no
|
||||||
PermitTTY no
|
PermitTTY no
|
||||||
# ForceCommand cvs server
|
# ForceCommand cvs server
|
||||||
|
Match All
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
Match User mikaela
|
Match User mikaela
|
||||||
PasswordAuthentication no
|
PasswordAuthentication no
|
||||||
AuthenticationMethods publickey
|
AuthenticationMethods publickey
|
||||||
|
Match All
|
||||||
|
@ -4,3 +4,4 @@
|
|||||||
#Match User someone
|
#Match User someone
|
||||||
# PasswordAuthentication yes
|
# PasswordAuthentication yes
|
||||||
# AuthenticationMethods any
|
# AuthenticationMethods any
|
||||||
|
#Match All
|
||||||
|
Loading…
Reference in New Issue
Block a user