mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 04:29:29 +01:00
sshd/anoncvs.conf: vcs users shouldn't ever be asked for a password
even if the system would allow that.
This commit is contained in:
parent
2711c5975e
commit
3260950712
@ -1,6 +1,8 @@
|
|||||||
# Version Control System accounts musn't have X11Forwarding, TCP Forwarding
|
# Version Control System accounts musn't have X11Forwarding, TCP Forwarding
|
||||||
# or TTY. The anoncvs is usually a comment in stock sshd_config
|
# or TTY. The anoncvs is usually a comment in stock sshd_config
|
||||||
Match User anoncvs,git,gitea
|
Match User anoncvs,git,gitea
|
||||||
|
PasswordAuthentication no
|
||||||
|
AuthenticationMethods publickey
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
AllowTcpForwarding no
|
AllowTcpForwarding no
|
||||||
PermitTTY no
|
PermitTTY no
|
||||||
|
Loading…
Reference in New Issue
Block a user