Cloudflared not found on the path

Hello I’m working with Macbook M1 and new to Cloudflare.

I installed Cloudflared to reach by SSH but when I try to reach always get an error as

zsh:1: no such file or directory: /usr/local/bin/cloudflared
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535

How can I fix this? Thank you

Do which cloudflared and see which directory it’s installed in - it might not be /usr/local/bin/cloudflared

1 Like

Can you please run

  1. ldd
    1.1 ldd ./cloudflared
    1.2 ldd /usr/local/bin/cloudflared
    1.3 ldd /usr/bin/cloudflared
  2. file
    1.1 file ./cloudflared
    1.2 file /usr/local/bin/cloudflared
    1.3 file /usr/bin/cloudflared

and tell us the output of each?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.