I can't get SSH working.
Hi,
I am trying to get SSH working through a cloudflared tunnel but, I can't get the connection on windows however I was able to get it in the cloud based terminal so I know that the server is configured properly. I don't know if there is a file somewhere on windows I need to edit or something like that. I am running Windows 10 if that helps, and Ubuntu Server 22.04 on a dedicated machine. I followed the docs, so the ubuntu machine is configured correctly, but it is connecting to said machine outside of the cloudflare web terminal is what I am having issues with.
9 Replies
Just to confirm you are attempting to connect with cloudflared right?
https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/#connect-to-ssh-server-with-cloudflared-access
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 …
Yes, I have it set up on the server and the web terminal works but, no success on the windows terminal.
Just set it up to test quickly for you.
Download cloudflared windows bin if you do not already have it.
Add the above, changing the host and the path to cloudflared as needed
This let me SSH in without issue
Am I meant to run these with a command? I just get not a program or batch file.
What do you mean sorry?
Am I meant to run this in cmd or, put it into a file?
This goes in to your SSH client config
I have a file called
known_hosts
, but nothing resembling config
.
I created config
and now it is working, thanks.No problem at all 🙂