Hi,
Here at CERN, we are setting a Gitea instance.
I have been reading your forum for days, but unfortunately, I had no luck to find a case that can help me.
We installed Gitea using its binary.
So, we are setting Gitea using an LDAP. This works fine.
The first issue is that users that are allowed to login into Gitea and create repos, etc… cannot clone the repo via SSH. (HTTP clone is fine)
They ONLY can SSH clone if they are allowed to directly login in (SSH @host).
Of course, we don’t want our users to be able to login into the machine.
So at this point, you will say: SSH server must be set up correctly.
And/or app.ini is missing something…
but I just cannot figure out
This is my part in the configuration file regarding the server:
[server]
SSH_DOMAIN = <domain>
DOMAIN = <domain>
HTTP_PORT = 3000
ROOT_URL = <domain>/gitea
DISABLE_SSH = false
START_SSH_SERVER = true
SSH_PORT = 22
SSH_LISTEN_PORT = %(SSH_PORT)s
LFS_START_SERVER = true
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
Can I ask you to please, please help me to understand what I can set in SSH to allow users to clone SSH their repos?
In the doc https://docs.gitea.io/en-us/help/faq/
you say:
" If you do not get the above message but still connect, it means your SSH key is not being managed by Gitea. This means hooks won’t run, among other potential problems."
So, how I let Gitea manage SSH keys?
The user that is running gitea service is root
Thanks and cheers,
Arturo