How to use VS Remote SSH with Cloudflare proxied domain?

I have a server running SSH server it has a public ip and subdomain (sub.domain.tl) pointing to it using Cloudflare In terminal I can connect using the command pointing to the public IP or the domain ssh [email protected] or ssh [email protected] but VS code remote SSH plugin works with IPonly or then I set subdomain be DNS only (aka no IP protection by Cloudflare).

Is there a way to configure Cloudflare or/and VS Code remote to use Cloudflares proxied domain with VS Code remote SSH?

Cloudflare doesn’t proxy SSH on the same hostname as the site.

There’s really no way to SSH to a proxied hostname. At best, you’d have to use WARP or Cloudflared to tunnel to a special hostname configured by the server admin.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.