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:
@@ -37,16 +37,16 @@ Windows> choco install git python nodejs
|
|||||||
```bash
|
```bash
|
||||||
# Windows
|
# Windows
|
||||||
Windows> cd D:\
|
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
|
Windows> cd ClaudeTools
|
||||||
|
|
||||||
# Mac
|
# Mac
|
||||||
Mac> cd ~/Projects # or wherever you want it
|
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
|
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:**
|
**For This Guide:**
|
||||||
- Windows path: `D:\ClaudeTools`
|
- Windows path: `D:\ClaudeTools`
|
||||||
|
|||||||
@@ -438,6 +438,7 @@
|
|||||||
### Gitea (Git Server)
|
### Gitea (Git Server)
|
||||||
- **URL:** https://git.azcomputerguru.com/
|
- **URL:** https://git.azcomputerguru.com/
|
||||||
- **Web Port:** 3000
|
- **Web Port:** 3000
|
||||||
|
- **HTTPS:** https://git.azcomputerguru.com (preferred)
|
||||||
- **SSH:** ssh://git@172.16.3.20:2222 OR ssh://git@git.azcomputerguru.com:2222
|
- **SSH:** ssh://git@172.16.3.20:2222 OR ssh://git@git.azcomputerguru.com:2222
|
||||||
- **Username:** azcomputerguru
|
- **Username:** azcomputerguru
|
||||||
- **Email:** mike@azcomputerguru.com
|
- **Email:** mike@azcomputerguru.com
|
||||||
@@ -451,7 +452,8 @@
|
|||||||
- **Notes:**
|
- **Notes:**
|
||||||
- Web login: azcomputerguru / Gptf*77ttb123!@#-git
|
- Web login: azcomputerguru / Gptf*77ttb123!@#-git
|
||||||
- SSH access: `ssh -T -p 2222 git@172.16.3.20` (verified working 2026-01-19)
|
- 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'`
|
- 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)
|
- SSH key added: 2026-01-19 15:09 (claude-code)
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ set -euo pipefail
|
|||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
ARCHIVE_PATH="${1:-}"
|
ARCHIVE_PATH="${1:-}"
|
||||||
TARGET_DIR="${2:-"${HOME}/ClaudeTools"}"
|
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=""
|
TEMP_EXTRACT=""
|
||||||
WARN_COUNT=0
|
WARN_COUNT=0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user