Unable to ssh via tunnel with Self Managed Key

Related to

Cloudflare Tunnel

What is the issue you’re encountering

Unable to connect SSH via WARP

What are the steps to reproduce the issue?

I have configuration on my ubuntu server for cloudflared tunnel for SSH connection, I’m using connection type Self managed ssh keys. Every time I connect my client computer to WARP, I never able to connect to the ssh server that runs cloudflared tunnel, always stuck on select user, then raised error “Remote side sent disconnect message type 14 (no more auth methods available): origin auth failed” (Error from Putty in Windows 10) (client and server in different network). I thought it was the problem of public key, but when I try to connect without WARP (in same network obviously), there is no problem with public key and I successfully connect. I think the cloudflared service unable to read the autorized_keys file that stores the public key of client, but I have no idea how to fix it. Here the error from server logs

2024-12-21T11:22:32.922746+07:00 usdd1 sshd[4069]: Received disconnect from 192.168.84.160 port 35578:11: cloudflare: client connection closed [preauth]
2024-12-21T11:22:32.926667+07:00 usdd1 sshd[4069]: Disconnected from 192.168.84.160 port 35578 [preauth]

May I ask if you’ve resolved your issue in the meantime? :thinking:
Were you able to connect or still having issue?

Currently, there are multiple ways to achieve as follows on the link from below:

May I ask if you’ve tried any other way from above article?

Yes, I have finished the issue. It is just fixed when I change the router and do similar configuration on zero trust just like previous router. I have no idea what actually make the previous connection in trouble. I have tested both router to ssh into the server in private network and they give no problem on it

1 Like