Zeanox
Zeanox5mo 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
Wagon5mo ago
The cloudflared agent only needs to exist one client in the network
Wagon
Wagon5mo 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
ZeanoxOP5mo ago
They are all different machines and on different ips. So im assuming id have to have one for each machine?
Wagon
Wagon5mo ago
Like different publics?
Zeanox
ZeanoxOP5mo ago
And that guide there is quite literally what has been done Yup
Wagon
Wagon5mo ago
and what method from this guide are you using
Wagon
Wagon5mo 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
ZeanoxOP5mo ago
No description
Wagon
Wagon5mo ago
Thats not what i asked. Are you using the WARP client or using cloudflare access for public routing
Zeanox
ZeanoxOP5mo ago
Sorry Using cloudflare access
Wagon
Wagon5mo ago
send your SSH config, blur any senstive info
Zeanox
ZeanoxOP5mo ago
Zeanox
ZeanoxOP5mo ago
Idk if it changes anything but the ssh key i provide the private on the console dashboard For hetzner
Wagon
Wagon5mo ago
Is this the machine you are using to access the others via SSH
Zeanox
ZeanoxOP5mo ago
Oh no. Thats the ssh config on the server im trying to access Im using mobaxterm for my terminal
Wagon
Wagon5mo ago
is it windows or linux
Zeanox
ZeanoxOP5mo ago
server is linux and desktop is windows
Wagon
Wagon5mo ago
ok, open a local terminal on Mobaxterm
Zeanox
ZeanoxOP5mo ago
yup
Wagon
Wagon5mo ago
now type mkdir .ssh
Zeanox
ZeanoxOP5mo ago
yup
Wagon
Wagon5mo ago
is cloudflared on this machine? it needs to be
Zeanox
ZeanoxOP5mo ago
cloudflared clients installed
Zeanox
ZeanoxOP5mo ago
No description
Zeanox
ZeanoxOP5mo ago
And its linked to my organisation
Wagon
Wagon5mo ago
Thats the WARP client a whole differnt thing
Zeanox
ZeanoxOP5mo ago
Ah
Zeanox
ZeanoxOP5mo 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
ZeanoxOP5mo ago
looking for that 64bit for windows
Zeanox
ZeanoxOP5mo ago
Just opens and closes really quickly not sure if its ment to do anything?
Wagon
Wagon5mo ago
run this winget install --id Cloudflare.cloudflared
Zeanox
ZeanoxOP5mo ago
And is that in mobaxterm or cmd?
Wagon
Wagon5mo ago
same thing
Zeanox
ZeanoxOP5mo 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
ZeanoxOP5mo ago
@Wagon
No description
Wagon
Wagon5mo ago
I mean it is definitely not optimal
Zeanox
ZeanoxOP5mo ago
But disks are not just gunna start dropping?
Wagon
Wagon5mo ago
Naw, if anything was to sustain actual damage it would be CPUs
Zeanox
ZeanoxOP5mo ago
there chilling at 55 idle so
Wagon
Wagon5mo ago
if those start getting above 90c turn da b off
Zeanox
ZeanoxOP5mo ago
yeah ofc so after the cloudflared client is installed @Wagon
Wagon
Wagon5mo ago
Add the entry in the docs to your shh config This looke for the “connect as a user” section