Zeanox
Zeanox6mo ago

Cloudflare tunneling for SSH not working

Hello! I have been trying for a few weeks now in order to get cloudflare tunnels working, So i am able to access the servers via its domain. No luck so far. This is also just running the cloudflared client on each machine, Then adding a public hostname for sshm1.example.com and forwarding it to SSH://localhost:22 Any ideas or changes?
43 Replies
Wagon
Wagon6mo ago
The cloudflared agent only needs to exist one client in the network
Wagon
Wagon6mo ago
Cloudflare Docs
Set up your first tunnel · Cloudflare Zero Trust docs
To create and manage tunnels, you will need to install and authenticate cloudflared on your origin server. cloudflared is what connects your server to …
Zeanox
ZeanoxOP6mo ago
They are all different machines and on different ips. So im assuming id have to have one for each machine?
Wagon
Wagon6mo ago
Like different publics?
Zeanox
ZeanoxOP6mo ago
And that guide there is quite literally what has been done Yup
Wagon
Wagon6mo ago
and what method from this guide are you using
Wagon
Wagon6mo ago
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 …
Zeanox
ZeanoxOP6mo ago
No description
Wagon
Wagon6mo ago
Thats not what i asked. Are you using the WARP client or using cloudflare access for public routing
Zeanox
ZeanoxOP6mo ago
Sorry Using cloudflare access
Wagon
Wagon6mo ago
send your SSH config, blur any senstive info
Zeanox
ZeanoxOP6mo ago
Zeanox
ZeanoxOP6mo ago
Idk if it changes anything but the ssh key i provide the private on the console dashboard For hetzner
Wagon
Wagon6mo ago
Is this the machine you are using to access the others via SSH
Zeanox
ZeanoxOP6mo ago
Oh no. Thats the ssh config on the server im trying to access Im using mobaxterm for my terminal
Wagon
Wagon6mo ago
is it windows or linux
Zeanox
ZeanoxOP6mo ago
server is linux and desktop is windows
Wagon
Wagon6mo ago
ok, open a local terminal on Mobaxterm
Zeanox
ZeanoxOP6mo ago
yup
Wagon
Wagon6mo ago
now type mkdir .ssh
Zeanox
ZeanoxOP6mo ago
yup
Wagon
Wagon6mo ago
is cloudflared on this machine? it needs to be
Zeanox
ZeanoxOP6mo ago
cloudflared clients installed
Zeanox
ZeanoxOP6mo ago
No description
Zeanox
ZeanoxOP6mo ago
And its linked to my organisation
Wagon
Wagon6mo ago
Thats the WARP client a whole differnt thing
Zeanox
ZeanoxOP6mo ago
Ah
Zeanox
ZeanoxOP6mo ago
Cloudflare Docs
Downloads · Cloudflare Zero Trust docs
Cloudflare Tunnel requires the installation of a lightweight server-side daemon, cloudflared, to connect your infrastructure to Cloudflare. If you are …
Zeanox
ZeanoxOP6mo ago
looking for that 64bit for windows
Zeanox
ZeanoxOP6mo ago
Just opens and closes really quickly not sure if its ment to do anything?
Wagon
Wagon6mo ago
run this winget install --id Cloudflare.cloudflared
Zeanox
ZeanoxOP6mo ago
And is that in mobaxterm or cmd?
Wagon
Wagon6mo ago
same thing
Zeanox
ZeanoxOP6mo ago
Alright turns out it was already installed Also very unrelated but here in the uk we are having a heatwave. And my room gets incredibly hot Is there any like danger if the intake air is 38c so 100.4F in my bedroom
Zeanox
ZeanoxOP6mo ago
@Wagon
No description
Wagon
Wagon6mo ago
I mean it is definitely not optimal
Zeanox
ZeanoxOP6mo ago
But disks are not just gunna start dropping?
Wagon
Wagon6mo ago
Naw, if anything was to sustain actual damage it would be CPUs
Zeanox
ZeanoxOP6mo ago
there chilling at 55 idle so
Wagon
Wagon6mo ago
if those start getting above 90c turn da b off
Zeanox
ZeanoxOP6mo ago
yeah ofc so after the cloudflared client is installed @Wagon
Wagon
Wagon6mo ago
Add the entry in the docs to your shh config This looke for the “connect as a user” section

Did you find this page helpful?