How to add ssh service type to Cloud Fare tunnel features.

hello guys I am new with the cloudfare tunnels. I configure the tunnel as per docs and integrated the domain. now on my local network when I try to ssh into the server I use ssh user@localip and when I try add a setvice type called ssh than there what url should I have to give. I am confused. I tried giving 127.0.0.1 but its not working and on dashboard it say Catch-all rule:http_status:404 please help me out
16 Replies
nehatkhan
nehatkhanOP2y ago
this is the dashboard of adding service
Cyb3r-Jak3
Cyb3r-Jak32y ago
The type needs to be SSH and you map it to the localhost device and the ssh port that is open so typically it will be 127.0.0.1:22
nehatkhan
nehatkhanOP2y ago
okay sir let me try this
nehatkhan
nehatkhanOP2y ago
sir this Catch-all rule:http_status:404 error
Cyb3r-Jak3
Cyb3r-Jak32y ago
You will always have a catch all rule for requests that hit the tunnel with no destination
nehatkhan
nehatkhanOP2y ago
no destination? means something is wrong
Cyb3r-Jak3
Cyb3r-Jak32y ago
How are you trying to connect? If you aren't using browser rendered SSH then you need to have cloudflared installed locally
nehatkhan
nehatkhanOP2y ago
I am trying to connect it with the mac terminal, before I was doing like that, ssh [email protected] and cloudfare settings is installed already on the server on which I am trying to ssh
Cyb3r-Jak3
Cyb3r-Jak32y ago
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 …
nehatkhan
nehatkhanOP2y ago
let me try but I am confused how confuguring the ssh on client with solve the issue as the ssh setting is on the cloudfare and ubuntu server regardless of the client
Cyb3r-Jak3
Cyb3r-Jak32y ago
Because you need to configure the client to go through cloudflared You can also try browser rendered ssh https://developers.cloudflare.com/cloudflare-one/applications/non-http/#rendering-in-the-browser
nehatkhan
nehatkhanOP2y ago
you mean on my mac
Cyb3r-Jak3
Cyb3r-Jak32y ago
The browser rendered is configure on the dashboard page so you can access your SSH through a browser rather than terminal SSH
nehatkhan
nehatkhanOP2y ago
okay sir let me try this It’s a pain sir
Cyb3r-Jak3
Cyb3r-Jak32y ago
I've found browser ssh to be easier then configuring the terminal
nehatkhan
nehatkhanOP2y ago
I am able to connect from the web browser but connecting through terminal it’s not working

Did you find this page helpful?