Hi, I bumped into your post during a search on how to make mosh + ngrok work. I see that you have done it.
Could you please help with the steps? ngrok doesn't support UDP right? So how is mosh able to communicate?
Yes, I use mosh all the time. But had never used it with ngrok. I noticed that ngrok(free account) is not treating UDP at all , which mosh uses after the initial ssh on 22. And hence mosh client never sees a connection post that. The same works when I use a dynamic dns to reach my box from external world.
Hi, I bumped into your post during a search on how to make mosh + ngrok work. I see that you have done it.
Could you please help with the steps? ngrok doesn't support UDP right? So how is mosh able to communicate?
Ngrok simply exposes your local machines ports via ngrok's servers. Mosh doesn't impact how that works in any way.
Mosh is better compared to SSH.
Yes, I use mosh all the time. But had never used it with ngrok. I noticed that ngrok(free account) is not treating UDP at all , which mosh uses after the initial ssh on 22. And hence mosh client never sees a connection post that. The same works when I use a dynamic dns to reach my box from external world.
So long as the port you're using is accessible to ngrok, what Mosh sends back and forth doesn't matter.