diff options
author | zeripath <art27@cantab.net> | 2018-11-01 13:41:07 +0000 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2018-11-01 09:41:07 -0400 |
commit | 7d9a191a3c78f7135e7ce3e314290e844fb7edfe (patch) | |
tree | e264b613f327b49d29054fa2cc1cf0f0a16ac9ad /custom | |
parent | 00533d38702767bc25703968daaa87b30980d2c9 (diff) | |
download | gitea-7d9a191a3c78f7135e7ce3e314290e844fb7edfe.tar.gz gitea-7d9a191a3c78f7135e7ce3e314290e844fb7edfe.zip |
Create AuthorizedKeysCommand (#5236)
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.ini.sample | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample index 1a85f9364d..a5925b48da 100644 --- a/custom/conf/app.ini.sample +++ b/custom/conf/app.ini.sample @@ -154,6 +154,9 @@ SSH_PORT = 22 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 = +; Gitea will create a authorized_keys file by default when it is not using the internal ssh server +; If you intend to use the AuthorizedKeysCommand functionality then you should turn this off. +SSH_CREATE_AUTHORIZED_KEYS_FILE = true ; For the built-in SSH server, choose the ciphers to support for SSH connections, ; for system SSH this setting has no effect SSH_SERVER_CIPHERS = aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, arcfour256, arcfour128 |