Search code examples
sshcdn

SSH over CDN HTTP-Proxy


I have a server which i'd like to connect to it using ssh. But the problem is I'm using a cdn http-proxy and have a domain name which connects to port 22 of the server.

when I try connecting i get the error:

kex_exchange_identification: Connection closed by remote host

does anyone have an idea what I could do?


Solution

  • SSH traffic is not supported by Cloudflare's proxy service, as it is not HTTP/HTTPS traffic. Therefore, you cannot directly use Cloudflare's HTTP proxy to connect to your SSH server. However, you can use Cloudflare Argo Tunnel or a VPN solution to access your SSH server over the internet while keeping your traffic secure.