diff options
author | Unknwon <u@gogs.io> | 2018-03-30 01:32:18 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-03-30 01:32:18 -0400 |
commit | 932490d7f137a2adf896e4e9326f4e8f2b9a2b54 (patch) | |
tree | 764f1619de5711fa2c56c00e8ede6c6971591ffd /conf/app.ini | |
parent | a855abf8c0de73fb3a9913000e1eb8d8ea9840ff (diff) |
conf: add option to rewrite authorized_keys file at start (#4435)
Added config option '[server] REWRITE_AUTHORIZED_KEYS_AT_START'.
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 2bf48123..ed1c3b76 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -35,6 +35,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 = +; Indicate whether to rewrite authorized_keys at start, ignored when use builtin SSH server +REWRITE_AUTHORIZED_KEYS_AT_START = false ; 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, |