Phatso
Explore posts from serversCDCloudflare Developers
•Created by Phatso on 9/2/2023 in #general-help
"Leave cloudflared running to download the token automatically"
I use cloudflare SSH tunnels to access some of my remote servers.
My SSH config and everything is configured well - it does work:
However, when I try to ssh into the server I always have to manually click the URL it generates, i.e.:
and then wait for the callback to complete, and then finally I'm connected.
After that minorly annoying process, I'm teased by
cloudflared
with this message:
Leave cloudflared running to download the token automatically 🙂That smug cli is telling me my life could be way easier if I just leave it running - super! Except.. can I? Any time I try to install the cloudflared service worker:
sudo cloudflared service install
, it complains:
Okay fine, so I make an empty config file in /etc/cloudflared
:
And then sudo cloudflared service install
:
But.. I don't want to make a tunnel? I'm trying to connect to a tunnel.
I have to give it information about a tunnel that I do not want to start?
Am I missing something? Can I just give it dummy data or something? Do I have to configure it with the specific tunnel that I'm trying to connect to?7 replies