2021-01-30 20:00:06 +01:00
|
|
|
# Version Control System accounts musn't have X11Forwarding, TCP Forwarding
|
|
|
|
# or TTY. The anoncvs is usually a comment in stock sshd_config
|
|
|
|
Match User anoncvs,git,gitea
|
2021-02-02 12:06:04 +01:00
|
|
|
PasswordAuthentication no
|
|
|
|
AuthenticationMethods publickey
|
2021-01-30 20:00:06 +01:00
|
|
|
X11Forwarding no
|
|
|
|
AllowTcpForwarding no
|
|
|
|
PermitTTY no
|
|
|
|
# ForceCommand cvs server
|