u/piearty

SSH into instance over external network Help

eta: SOLVED, I just had to delete and redo the tunnel in cloudflare's online gui.

(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 tunnel 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?

edit: format and typos

reddit.com
u/piearty — 12 days ago