aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorspacetourist <guy.callum@gmail.com>2017-02-10 19:04:43 +0000
committer无闻 <u@gogs.io>2017-02-10 14:04:43 -0500
commit29722af1ae51333a7da742b5e02a5e7fe5983aab (patch)
tree281d103accaa2ff9c6321e101307a641d8d8d33d /conf
parent563fc7c6d7d685678f86ba13e565bafa96f005e0 (diff)
Configurable SSH cipher suite (#4109)
* Configurable SSH cipher suite * Maintain ordering
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 48e483dc..6e4e7a08 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -116,6 +116,8 @@ SSH_LISTEN_HOST = 0.0.0.0
SSH_LISTEN_PORT = %(SSH_PORT)s
; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'.
SSH_ROOT_PATH =
+; Choose the ciphers to support for SSH connections
+SSH_SERVER_CIPHERS = aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, arcfour256, arcfour128
; Directory to create temporary files when test publick key using ssh-keygen,
; default is system temporary directory.
SSH_KEY_TEST_PATH =