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