• 2 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023







  • gurapokuOPtoSelfhosted@lemmy.worldIs it safe to open a forgejo git ssh port in my router?English
    arrow-up
    4
    arrow-down
    0
    ·
    5 months ago
    edit-2
    5 months ago
    link
    fedilink

    The reason why I am asking this question is because I think that the ssh port I am opening only has access to my repos (which means that even if I somehow get hacked the damage is minimal) and it doesn’t accept any keys aside from mine and my friend’s, which we set up through the web interface :).

    I have wireguard setup and I’d also thought about sharing a tunnel with my friend, but it seemed much more hasslesome than simply opening the port, not to mention the fact that if anyone wanted to join too I’d have to do that again.

    It is exactly because I am afraid of getting fucked that I am asking this and being careful. For now, my idea is to only open the port when someone is about to use it, since I am not absolutely sure that it won’t somehow accept a request from a person with less than noble intentions. (either that, either simply use tokens)

    Reverse proxying was also my intention at first, but I just couldn’t get it to work with cloudflare for some reason!

    Thanks for the insight!


  • gurapokuOPtoSelfhosted@lemmy.worldIs it safe to open a forgejo git ssh port in my router?English
    arrow-up
    2
    arrow-down
    0
    ·
    5 months ago
    edit-2
    5 months ago
    link
    fedilink

    I am still very much a noob to self-hosting, but I am not the one managing this ssh port, forgero is. Is there not any difference between the two? I think you can only access the forgejo ssh if you have a matching private key for one of the user’s public keys

    (And although it surprised me too, I couldn’t find information about the safety of specifically this online)