Skip to content

How to enable SSH successfully

Thomas edited this page Aug 13, 2018 · 5 revisions

The default installation doesn't work with ssh on the native sinology system. I found it just easier to use the new built in server.

In the gitea home directory change the admin file to add the following:

vi /var/packages/Gitea/target/gitea/custom/conf/app.ini

Modify the 'server' section to include the following:

DISABLE_SSH = true
SSH_DOMAIN = name.of.server
 DOMAIN = name.of.server
 SSH_PORT = 22222
 START_SSH_SERVER = true

Clone this wiki locally