Switch Gitea remotes from SSH to HTTPS for reliable access

SSH to 172.16.3.20:2222 is unreachable when not on local network.
Updated remotes, docs, and migration script to use
https://git.azcomputerguru.com instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 06:10:29 -07:00
parent 068888202c
commit d320958fa8
3 changed files with 7 additions and 5 deletions

View File

@@ -37,16 +37,16 @@ Windows> choco install git python nodejs
```bash
# Windows
Windows> cd D:\
Windows> git clone ssh://azcomputerguru@172.16.3.20:2222/azcomputerguru/claudetools.git ClaudeTools
Windows> git clone https://git.azcomputerguru.com/azcomputerguru/claudetools.git ClaudeTools
Windows> cd ClaudeTools
# Mac
Mac> cd ~/Projects # or wherever you want it
Mac> git clone ssh://azcomputerguru@172.16.3.20:2222/azcomputerguru/claudetools.git ClaudeTools
Mac> git clone https://git.azcomputerguru.com/azcomputerguru/claudetools.git ClaudeTools
Mac> cd ClaudeTools
```
**Note:** You'll need SSH access to the Gitea server (172.16.3.20:2222)
**Note:** Uses HTTPS to Gitea at git.azcomputerguru.com
**For This Guide:**
- Windows path: `D:\ClaudeTools`

View File

@@ -438,6 +438,7 @@
### Gitea (Git Server)
- **URL:** https://git.azcomputerguru.com/
- **Web Port:** 3000
- **HTTPS:** https://git.azcomputerguru.com (preferred)
- **SSH:** ssh://git@172.16.3.20:2222 OR ssh://git@git.azcomputerguru.com:2222
- **Username:** azcomputerguru
- **Email:** mike@azcomputerguru.com
@@ -451,7 +452,8 @@
- **Notes:**
- Web login: azcomputerguru / Gptf*77ttb123!@#-git
- SSH access: `ssh -T -p 2222 git@172.16.3.20` (verified working 2026-01-19)
- Git remote: `ssh://git@172.16.3.20:2222/azcomputerguru/ClaudeTools.git`
- Git remote (HTTPS, preferred): `https://git.azcomputerguru.com/azcomputerguru/claudetools.git`
- Git remote (SSH, internal only): `ssh://git@172.16.3.20:2222/azcomputerguru/ClaudeTools.git`
- Password reset: `docker exec -u git gitea gitea admin user change-password --username azcomputerguru --password 'NEW_PASSWORD'`
- SSH key added: 2026-01-19 15:09 (claude-code)

View File

@@ -17,7 +17,7 @@ set -euo pipefail
# ---------------------------------------------------------------------------
ARCHIVE_PATH="${1:-}"
TARGET_DIR="${2:-"${HOME}/ClaudeTools"}"
GITEA_REPO="ssh://git@172.16.3.20:2222/azcomputerguru/claudetools.git"
GITEA_REPO="https://git.azcomputerguru.com/azcomputerguru/claudetools.git"
TEMP_EXTRACT=""
WARN_COUNT=0