diff options
author | Eduardo Bacchi Kienetz <eduardo@kienetz.com> | 2020-12-04 08:52:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 21:52:26 +0800 |
commit | c875950c438b1ccbb546fecb4905680a0cbd38a7 (patch) | |
tree | 2fc428574c9471d067f8da8f535cbd30623cd0ea /conf/app.ini | |
parent | 71eeb2f0c04019c891648316a0aac29cff109bf0 (diff) |
ssh: allow setting allowed MAC algorithms for built-in server (#6435)
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
Diffstat (limited to 'conf/app.ini')
-rw-r--r-- | conf/app.ini | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index 06d8afdc..79b84ed3 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -81,6 +81,8 @@ SSH_LISTEN_HOST = 0.0.0.0 SSH_LISTEN_PORT = %(SSH_PORT)s ; The list of accepted ciphers for connections to builtin SSH server. SSH_SERVER_CIPHERS = aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, arcfour256, arcfour128 +; The list of accepted MACs for connections to builtin SSH server. +SSH_SERVER_MACS = hmac-sha2-256-etm@openssh.com, hmac-sha2-256, hmac-sha1 ; Define allowed algorithms and their minimum key length (use -1 to disable a type). [ssh.minimum_key_sizes] |