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
this is the dashboard of adding service
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
okay sir let me try this
sir this Catch-all rule:http_status:404 error

You will always have a catch all rule for requests that hit the tunnel with no destination
no destination? means something is wrong
How are you trying to connect? If you aren't using browser rendered SSH then you need to have cloudflared installed locally
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
You need cloudflared on the client as well
https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/use-cases/ssh/#connect-to-ssh-server-with-cloudflared-access
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 …
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
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
you mean on my mac
The browser rendered is configure on the dashboard page so you can access your SSH through a browser rather than terminal SSH
okay sir let me try this
It’s a pain sir
I've found browser ssh to be easier then configuring the terminal
I am able to connect from the web browser but connecting through terminal it’s not working