#Unsuccessful SSH Connection via Cloudflare Tunnel

6 messages · Page 1 of 1 (latest)

open mortar
#

You can't ssh directly to your tunnel, that would require some other piece of information to identify the connection, as tunnels just use the normal Cloudflare CDN/Proxy, and those IPs are shared among a lot of other customers.

You can either use Public Hostnames, and run cloudflare access locally on the machine, or Private Networking and run WARP logged into your Zero Trust team, locally on the machine. Both are outlines here, cloudflared access would be much easier/less setup for this:
https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/

The Secure Shell Protocol (SSH) enables users to remotely access devices through the command line. With Cloudflare Zero Trust, you can make your SSH …

sick haven
#

I used it and implemented it right away.

open mortar
#

and you still can't access it via cloudflare access? or

sick haven
#

When I use "sub.mydomain.com" for SSH connection, it doesn't work, but when I use the IP address, it works fine! Moreover, when I use "sub.mydomain.com" within the main server (where Docker is running), I can connect to SSH, but it's not working from outside the Docker, i.e., from the main server.

I feel like I might have forgotten some settings, but I have followed the same steps as before. Even HTTP works without any issues, but I'm facing problems only with SSH. The port is set to the default, which is 22.

Can you suggest where I can track down the issue and identify the problem?

sick haven
open mortar