Utilisation du serveur SSH intégré à Gitea

This commit is contained in:
wpetit 2019-09-30 14:46:15 +02:00
parent 93b96fb8e0
commit 0839f68e18
2 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,7 @@
<port service_accesslist="gitea_without_nginx" port_type="SymLinkOption">gitea_http_port</port> <port service_accesslist="gitea_without_nginx" port_type="SymLinkOption">gitea_http_port</port>
</service_access> </service_access>
<service_access service='gitea_ssh'> <service_access service='gitea_ssh'>
<tcpwrapper>sshd</tcpwrapper> <tcpwrapper>gitea</tcpwrapper>
</service_access> </service_access>
</container> </container>
</containers> </containers>

View File

@ -30,6 +30,7 @@ HTTP_ADDR =
HTTP_PORT = %%gitea_http_port HTTP_PORT = %%gitea_http_port
; Disable SSH feature when not available ; Disable SSH feature when not available
DISABLE_SSH = false DISABLE_SSH = false
START_SSH_SERVER = true
SSH_PORT = %%gitea_ssh_port SSH_PORT = %%gitea_ssh_port
; Disable CDN even in "prod" mode ; Disable CDN even in "prod" mode
OFFLINE_MODE = false OFFLINE_MODE = false