SSH Tunnel Setup Failure

Hello Cloudflare! I am trying to access SSH using a cloudflare tunnel. I have already tried running a HTTP tunnel which worked successfully, however I can't seem to figure out how to run it with SSH. I have tried both local and cloud (via dashboard) configurations but none of which worked. I am going to post steps I took as I redo and document them
12 Replies
Kaveman
KavemanOP3mo ago
Starting Point Here's my DNS records in full before I start doing anything with Zero Trust (used DevTools to remove origin IP though)
No description
Kaveman
KavemanOP3mo ago
This cloudflare account has not used Zero Trust at all yet and has this page whenever you visit Zero Trust from the CF Dashboard
No description
Kaveman
KavemanOP3mo ago
Creating a Tunnel using the ZT Dashboard I selected a 'cloudflared' option rather than WARP (also installing this on a Windows system) and named it SSH Tunnel. And completed the steps to install and install the cloudflared service
No description
Kaveman
KavemanOP3mo ago
And the Windows service got installed and shows up on the ZT Tunnel Setup
No description
Kaveman
KavemanOP3mo ago
No description
Kaveman
KavemanOP3mo ago
I used this route configuration for the tunnel
No description
Kaveman
KavemanOP3mo ago
The tunnel shows up and appears as healthy
No description
Kaveman
KavemanOP3mo ago
I ran the command to create an SSH config and saved it
No description
Kaveman
KavemanOP3mo ago
Well I'd be daym'd
Kaveman
KavemanOP3mo ago
Running this command worked, asked for auth and it worked
No description
Kaveman
KavemanOP3mo ago
Why it didn't work earlier? I am not sure
Chaika
Chaika2mo ago
Sounds like you figured it out! I'll mark this as self-solved then. Feel free to comment or make a new thread if not. side note: If you wanted to troubleshoot that further in the future, I would just do it without the proxy command directly ex: cloudflared access tcp --hostname ssh.site.com --url 127.0.0.1:9210 and in another window then ssh [email protected] -p 9210, then capture errors from both
Want results from more Discord servers?
Add your server