r/forgejo•
piearty

SSH into instance over external network Help

(I'm pretty new to self hosting, please be nice)

I set up a forgejo instance using docker on my raspberry pi that's accessible on external networks using a cloudflare tunned and nginx reverse proxy. It works and is visible at `https://hl.myurl.com\`. But I want to be able to ssh into a repo in the instance from an external network and I can't figure out how.

I added an ingress to the cloudflare tunnel, which I set up locally, at `ssh.hl.myurl.com` connected to `localhost:22`. I can't ssh into my repo still, even with having added the appropriate deploy key in my repo settings and having the ssh enabled on port 22 in `app.ini`. The command I'm using is `ssh git@ssh.hl.myurl.com:user/repo.git`.

Can someone give insight?

Posted May 10, 2026, 2:08 PM UTC

10
Loading comments…