SSH timeout Cloudflare
Les commandes Git SSH ne fonctionnent pas.
Symptôme
Section titled “Symptôme”git push / git clone via SSH vers gitea.mindlet.app:222 timeout sans erreur.
Diagnostic
Section titled “Diagnostic”dig +short gitea.mindlet.app# Résultat : IPs Cloudflare (188.114.x.x), pas l'IP du VPSLe domaine est en mode Proxied (nuage orange) dans Cloudflare.
Cloudflare ne transmet que HTTP/HTTPS, pas TCP arbitraire (SSH). Le trafic SSH est silencieusement ignoré → timeout.
Solution
Section titled “Solution”Créer un sous-domaine SSH avec proxy désactivé :
| Enregistrement | Proxy |
|---|---|
gitea.mindlet.app | ON (orange) |
ssh-gitea.mindlet.app | OFF (gris) |
Configurer Gitea pour afficher les bonnes URLs :
GITEA__server__SSH_DOMAIN: ssh-gitea.mindlet.appRésultat
Section titled “Résultat”- Web :
https://gitea.mindlet.app(protégé par Cloudflare) - SSH :
ssh://git@ssh-gitea.mindlet.app:222/...(direct au VPS)