Example gitea configuration to make ssh sync work

Hello,
is there someone who knows how to setup gitea on a server in dmz with a working configuration for ssh ?

In the forum there are plenty of topics with gitea not accepting ssh connections, but none of the suggestions worked so far.

I followed this guide to setup gitea on the server
install gitea on ubuntu and it works to push/pull with https but nothing seems to persuade gitea to make it work with ssh.

Right now, i am at this status:

/etc/gitea/app.ini

RUN_USER = git

[server]
SSH_DOMAIN = git.mydomain.com
DOMAIN = git.mydomain.com
HTTP_PORT = 3000
ROOT_URL = https://git.mydomain.com:3000/
DISABLE_SSH = false
START_SSH_SERVER = true
SSH_PORT = 2524
LFS_START_SERVER = true

OFFLINE_MODE = false

If someone stumbled over an clean working tutorial or howto - plz let me know :confused:

I did not find a way for clean uninstall either, so i could re-install from scratch…

Hello again,
all the sudden, the above configuration works! :smiley: :upside_down_face:

I can now successfully sync via ssh.

But i am still trying to eliminate wrong or uneccesary config options, so a clarification would still be very delightful.

Thank you.