diff options
author | Joe Chen <jc@unknwon.io> | 2023-02-12 13:10:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 13:10:41 +0800 |
commit | b34ee734972429cc16686edc87dd38ad5a2f65aa (patch) | |
tree | 253cf458dcf9212fbf58fb1229cec09d0cf0f1f3 /conf | |
parent | 92f66c9eac950c7b28a83f5b02c1209897bb89b7 (diff) |
feat(ssh): support dynamic list of algorithms (#7345)
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 2 | ||||
-rw-r--r-- | conf/locale/locale_en-US.ini | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index 06c28ed9..955c0072 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -83,6 +83,8 @@ SSH_LISTEN_PORT = %(SSH_PORT)s 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 +; The list of accepted key exchange algorithms for connections to builtin SSH server. +SSH_SERVER_ALGORITHMS = rsa, ecdsa, ed25519 ; Define allowed algorithms and their minimum key length (use -1 to disable a type). [ssh.minimum_key_sizes] diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini index a5a8b648..ff9ada60 100644 --- a/conf/locale/locale_en-US.ini +++ b/conf/locale/locale_en-US.ini @@ -1209,6 +1209,7 @@ config.ssh.listen_host = Listen host config.ssh.listen_port = Listen port config.ssh.server_ciphers = Server ciphers config.ssh.server_macs = Server MACs +config.ssh.server_algorithms = Server algorithms config.repo_config = Repository configuration config.repo.root_path = Root path |