Document Gitea SSH port 222 for API VM git deploys.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-07-22 21:49:00 +03:30
co-authored by Cursor
parent 016cc15bf0
commit 136711dfb3
2 changed files with 16 additions and 1 deletions
+14 -1
View File
@@ -34,4 +34,17 @@ REMOTE
## VM git access
Deploy key (read-only) on `git.meshkee.com` for repo `Meshkee/backend`, installed as `/root/.ssh/id_ed25519` on the API VM. Remote should be SSH: `git@git.meshkee.com:Meshkee/backend.git`.
Deploy key (read-only) on `git.meshkee.com` for repo `Meshkee/backend`, installed as `/root/.ssh/id_ed25519` on the API VM.
Gitea SSH listens on **port 222** (not 22). The API VM must have `/root/.ssh/config`:
```
Host git.meshkee.com
HostName git.meshkee.com
User git
Port 222
IdentityFile /root/.ssh/id_ed25519
IdentitiesOnly yes
```
Remote URL: `git@git.meshkee.com:Meshkee/backend.git` (port comes from SSH config).
+2
View File
@@ -226,6 +226,8 @@ REMOTE
Preserve `/opt/meshkee/app/.env` on the server. App remote must be SSH: `git@git.meshkee.com:Meshkee/backend.git` with the VM deploy key registered as a **read-only deploy key** on the repo.
Gitea SSH is on **port 222**. On the API VM, `/root/.ssh/config` must set `Port 222` for `Host git.meshkee.com` (system SSH on 22 is not Gitea).
## Useful commands
```bash