So I initially had been using gitea. It took me a while to get ssh to work properly but then it did. Then I learned of forgejo and decided to go full foss. Only problem is that i cant get ssh to work for the life of me. Here’s my setup
- Forgejo is in a docker compose file in which I’ve setup a docker network
- My ssh port for my server is not 22
- I followed the gitea sshing shim directions I used previously to a T and couldn’t get any sort of anything to work
My best guess is there’s some base configuration difference between the two that I don’t know of that maybe somebody here can point out for me. Any help would be appreciated, thanks.
I don’t have an explicit config file no, I don’t remember needing it before though. I’ve followed the steps https://docs.gitea.com/installation/install-with-docker which worked with gitea but doesn’t work with forgejo. I didn’t see anything that mentioned needing a config for the first method listed there at least. I suppose I could try some of the other methods listed there but I liked option A the best generally.
If you have forgejo or gitea ssh running on port 222, you need to specify it somewhere. Or else
git
could connect to port 22, which is default for ssh.