#Regarding SSH in a local Linux Machine

11 messages · Page 1 of 1 (latest)

nova escarp
#

--hostname 127.0.0.1 this is incorrect.

#

It should be --hostname %h, which SSH automatically translates into --hostname ssh.rosenpaudel.com.np

acoustic jewel
nova escarp
#

Can you confirm that cloudflared is actually located at /usr/bin/cloudflared?

#

For example, on my Mac it's at /opt/homebrew/bin/cloudflared not /usr/bin/cloudflared

#

Also I'd highly recommend you protect this with Access, currently anyone who knows the hostname can use their own cloudflared and try and access it (they'd need a password but it would work if they had it)

#

Oh. That's the other thing. You're specifying User linux in your config file, so you don't need it in your ssh command.

#

Just ssh ssh.rosanpaudel.com.np, no linux@

acoustic jewel
nova escarp
#

No problem! 🙂

acoustic jewel
#

I can access it from the pc that I am hosting from. But not from my another pc