
I self-hosted Gitea on Ubuntu 24.04 — SSH on 222 was the trap
I wanted a private Git forge for Compose files and client repos without running GitLab. Gitea came up on HTTPS quickly; git clone over SSH hung until I matched ROOT_URL, host port 222, and UFW. After that, push and pull requests worked.
Aug 5, 2026 · 4 min read