From f6eb588ccdfd29f985178d50ad41d272a3342132 Mon Sep 17 00:00:00 2001 From: Geir Okkenhaug Jerstad Date: Tue, 10 Jun 2025 22:43:49 +0200 Subject: [PATCH] Update instruction file with corrected Git SSH configuration - Change port from 1337 to 2222 - Update user from forgejo to git for SSH compatibility - Fix URL and remote configuration examples --- instruction.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/instruction.md b/instruction.md index 54e756a..8ee705d 100644 --- a/instruction.md +++ b/instruction.md @@ -92,13 +92,13 @@ Home-lab/ ### Git/Forgejo Configuration - **Primary repository**: Hosted on self-hosted Forgejo instance -- **Forgejo URL**: `ssh://forgejo@git.geokkjer.eu:1337/geir/Home-lab.git` -- **SSH port**: 1337 (proxied through reverse-proxy to grey-area:22) -- **User**: Must use `forgejo` user, not `git` user +- **Forgejo URL**: `ssh://git@git.geokkjer.eu:2222/geir/Home-lab.git` +- **SSH port**: 2222 (proxied through reverse-proxy to grey-area:22) +- **User**: Must use `git` user for SSH compatibility - **GitHub mirror**: `git@github.com:geokkjer/Home-lab.git` (secondary/backup) - **Remote configuration**: ```bash - git remote add origin ssh://forgejo@git.geokkjer.eu:1337/geir/Home-lab.git + git remote add origin ssh://git@git.geokkjer.eu:2222/geir/Home-lab.git git remote add github git@github.com:geokkjer/Home-lab.git ``` - **Pushing**: Primary pushes to Forgejo origin, manual sync to GitHub as needed