diff options
author | Patrick G <geek1011@outlook.com> | 2017-10-14 11:51:00 -0400 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-10-14 18:51:00 +0300 |
commit | e89bb7ef6a6848615a56f8c568ae335de0c2e9e7 (patch) | |
tree | aab1716cd9dffc017d27fe91b04364ed5004bd7b /conf | |
parent | 514006a2e5a33074fba5ac2deab9ab91cf5713a2 (diff) | |
download | gitea-e89bb7ef6a6848615a56f8c568ae335de0c2e9e7.tar.gz gitea-e89bb7ef6a6848615a56f8c568ae335de0c2e9e7.zip |
Allow custom SSH user in UI for built-in SSH server (#2617) (#2678)
* Allow custom SSH user in UI for built-in SSH server (#2617)
* Some fixes
* Did make fmt
* Updated according to review
- Renamed config to BUILTIN_SSH_SERVER_USER
- Removed unnecessary default string value for config item
* Updated according to review
* Fixed some minor issues
Diffstat (limited to 'conf')
-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 9674b815c9..d4cb53d849 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -113,6 +113,8 @@ LOCAL_ROOT_URL = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/ DISABLE_SSH = false ; Whether use builtin SSH server or not. START_SSH_SERVER = false +; Username to use for builtin SSH server. If blank, then it is the value of RUN_USER. +BUILTIN_SSH_SERVER_USER = ; Domain name to be exposed in clone URL SSH_DOMAIN = %(DOMAIN)s ; Network interface builtin SSH server listens on |