Can't get SSH to work through Cloudflare Tunnel

What is the name of the domain?

Redacted

What is the error number?

Connection closed by 172.67.192.92 port 443

What is the issue you’re encountering

I can’t connect to SSH through Cloudflare Tunnel.

What steps have you taken to resolve the issue?

I can connect by SSH directly to my machine. But I can’t find why it does not work through Cloudflare tunnel. I have cloudflared installed as a Docker container. I already use it for http applications and it works perfecly. Now I would like my SSH to go though Cloudflare tunnel too. From a docker container that has an ssh client, I can perfectly log in SSH using the IP of the machine on my network. Now, using the exact same IP in the cloudflare tunnel configuration does not work. I have a set a subdomain, ssh.example.com, to point to ssh://192.168.1.27:10998. I tried to log in thorugh cloudflare, I tried ssh [email protected] -p 80, ssh [email protected] -p 443, ssh [email protected] -p 22. None is working. What am I doing wrong ? Thanks in advance for your help, have a nice day.

To use SSH via tunnel, you need to connect via Warp or Cloudflared on the client side.

Which of these options are you using?

1 Like

Similar issue happened to me, We use Ubuntu VM in Azure, In using cloudflsare warp, leveraging tunnel i was able to access VM using private IP via cloudflare warp, I have updated yesterday and now its not working properly for this i have to use public IP uninstall cloudflare and install cloudflare tunnel in VM with new refresh token, But if i disassociate public IP i can see status as down

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