23 lines
702 B
Markdown
23 lines
702 B
Markdown
# Gitea SSH Exposure
|
|
|
|
## Current setup
|
|
- Internal Gitea SSH service remains: `gitea-ssh` (ClusterIP/headless)
|
|
- Public SSH service: `gitea-ssh-public` (LoadBalancer)
|
|
- External IP (MetalLB): `172.10.1.201`
|
|
- Port: `22/TCP` -> target `2222` in pod
|
|
|
|
## Verification
|
|
- TCP 22 open on `172.10.1.201`
|
|
- SSH handshake returns `Permission denied (publickey)` for unauthenticated attempts (expected)
|
|
|
|
## DNS recommendation
|
|
For clean separation, use:
|
|
- `git.aeternalisgames.com` for web/UI (HTTPS)
|
|
- `git-ssh.aeternalisgames.com` for SSH clones
|
|
|
|
Then users can clone with:
|
|
`git@git-ssh.aeternalisgames.com:OWNER/REPO.git`
|
|
|
|
## Firewall note
|
|
Allow inbound `TCP/22` to `172.10.1.201` from desired client networks.
|