forked from gitea/gitea
1
0
Fork 0

Make sshd_config more flexible regarding connections (#16009)

* Make sshd_config more flexible regarding
MaxStartups and MaxSessions.

See https://man.openbsd.org/sshd_config
for more information.

* make property prefix equals
other existing Gitea SSH properties.

Co-authored-by: dlouzado <dlouzado@senado.leg.br>
This commit is contained in:
Dario Louzado 2021-05-31 22:33:50 -03:00 committed by GitHub
parent c63d1d814c
commit 5de01e21a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ AddressFamily any
ListenAddress 0.0.0.0
ListenAddress ::
MaxStartups ${SSH_MAX_STARTUPS}
MaxSessions ${SSH_MAX_SESSIONS}
LogLevel INFO
HostKey /data/ssh/ssh_host_ed25519_key