Skip to content

How to enable SSH successfully

Konstantin Zverev edited this page Nov 30, 2020 · 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 = false
SSH_DOMAIN = name.of.server
DOMAIN = name.of.server
SSH_PORT = 22222
START_SSH_SERVER = true

This will ensure the system works with ssh. Completely undocumented in everyone's places I could see.

Clone this wiki locally