Skip to content

SSH timeout Cloudflare

Les commandes Git SSH ne fonctionnent pas.


git push / git clone via SSH vers gitea.mindlet.app:222 timeout sans erreur.


Terminal window
dig +short gitea.mindlet.app
# Résultat : IPs Cloudflare (188.114.x.x), pas l'IP du VPS

Le 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.


Créer un sous-domaine SSH avec proxy désactivé :

EnregistrementProxy
gitea.mindlet.appON (orange)
ssh-gitea.mindlet.appOFF (gris)

Configurer Gitea pour afficher les bonnes URLs :

GITEA__server__SSH_DOMAIN: ssh-gitea.mindlet.app

  • Web : https://gitea.mindlet.app (protégé par Cloudflare)
  • SSH : ssh://git@ssh-gitea.mindlet.app:222/... (direct au VPS)