Tunnel for SSH failed to connect
So I've got a Ubuntu desktop, which installed the cloudflare tunnel meant set up for
ssh
via public hostname (I've purchased a domain name). However, when I tried to ssh
into my Ubuntu desktop from my mac, it gave me the following errors:
The documentation says "cloudflared
will launch a browser window to prompt you to authenticate with your identity provider before establishing the connection from your terminal."
However, I didn't see that poping up, instead there were only errors. I think I might have messed things up insided the tunnel but I'm lost to find a valid solution.8 Replies
How are you accessing with SSH?
You need to follow: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/#2-connect-as-a-user
Cloudflare Docs
SSH | Cloudflare Zero Trust docs
The Secure Shell Protocol (SSH) enables users to remotely access devices through the command line. With Cloudflare Zero Trust, you can make your SSH server available over the Internet without the risk of opening inbound ports on the server.
I believe I followed this documentation and
cloudflared
is running on my mac. Here is my config file for ssh
on the client side:
I'd also check your WAF logs. I have blocked the tunnel process before
I didn't purchase a web application firewall.
It’s standard with Cloudflare
OMG, how I can check this log out?
Appreciated it! But there no log at all...
alr, now it's working after I rebooted my server...