Hm, I think the title is wrong. If you check it then the last commit in codeberg was 3 years ago and the last commit on github is 4 days ago.
So yesterday I set up forgejo, which is the software behind codeberg, and imported all my 88 git repos from github, so far so good.
But then I spent the rest of the day trying to figure out how to be able to use port 22, which I already use for sshd to share it with forgejo so I could clone and push to it without the need of a non standart Port and I am almost giving up on it, almost. I will try today again, but I’m running out of options and the documentation is not telling me how to set it up.
Any tips are welcome!
Why the need to push via ssh? I am genuinely wondering, since you can easily push without having that enabled at all.
Because otherwise I will need to set up a different way of logging in to authenticate on every computer. I’m using ssh for every git server. How do you authenticate, with a different access token for each git server in ~/.gitconfig?
You have to
- Make sure access is allowed on the sshd server side for the user Forgejo is running on
- Ensure it’s enabled in Forgejo settings
- Add your SSH key into your user settings
Odd, setting this up with gitea (which forgejo was forked from) was painless, maybe their guide will help. There is a few different options
So interesting, actually yesterday I was sporadically reading that page but not following it exactly. Now that you posted the link I really paid attention and followed it again, and I have the feeling I did exactly the same steps, but now it just worked!
Thanks so much, this is awesome, now I really don’t need GitHub anymore.
Here is the script I used to migrate: https://git.jeena.net/jeena/github2forgejo
I’m glad it helped! From what I remember when I checked out forgejo their documentation was really lacking, but some of it has gotten better since they did the hard fork
Great news!!
The title is confusing and wrong can you fix it?
You know that app that is boring and a waste of time? We made a FOSS version of it! Pixelfed and Friendica for ya