Cloudflared SSH Error

Near clone of unresolved - Cloudflared not found on the path

Error

Error

[d43m0n1k@d43m0n1k-XPS ~]$ ssh [email protected]
/bin/bash: line 1: /usr/local/bin/cloudflared: No such file or directory
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535

Ran ldd and file as per that thread:

ldd

ldd

[d43m0n1k@d43m0n1k-XPS ~]$ ldd ./cloudflared
ldd: ./cloudflared: No such file or directory
[d43m0n1k@d43m0n1k-XPS ~]$ ldd /usr/local/bin/cloudflared
ldd: /usr/local/bin/cloudflared: No such file or directory
[d43m0n1k@d43m0n1k-XPS ~]$ ldd /usr/bin/cloudflared
not a dynamic executable

file

file

[d43m0n1k@d43m0n1k-XPS ~]$ file ./cloudflared
./cloudflared: cannot open ./cloudflared' (No such file or directory) [d43m0n1k@d43m0n1k-XPS ~]$ file /usr/local/bin/cloudflared /usr/local/bin/cloudflared: cannot open /usr/local/bin/cloudflared’ (No such file or directory)
[d43m0n1k@d43m0n1k-XPS ~]$ file /usr/bin/cloudflared
/usr/bin/cloudflared: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=Huxrc5K89yGQy32_ED0A/Bk5ZoXYZZxN2QJ_H5GSM/bU3ldv_4zfgZcIbIIjPD/mJ5LEXDkjQx7NgOrQenN, with debug_info, not stripped

As the previous thread was unresolved I’m not sure where to go from here?

First time setup went well, but I can’t access now.

Thank you

I changed the path in the ssh config from /usr/local/bin/cloudflared to /user/local/bin/cloudflared and now the error is just the end:

Error

[d43m0n1k@d43m0n1k-XPS ~]$ ssh [email protected]
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535

Teh previous thread?

That’s a path issue.

Sweet!

Thiis is likely a local network issue. Teh Serverfaults above might have a path to resolution.

3 Likes

Thank you, while the issue in that thread was nothing like my own, reading another recommended thread recommended restart ssh service on the machine with the tunnel installed and after that my remote laptop managed to connect in just fine.

3 Likes

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