DEV Community

Discussion on: Let's Talk Windows vs macOS

Collapse
 
pradeepprakash profile image
pradeepprakash

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?

Collapse
 
tnypxl profile image
tnypxl

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.

Thread Thread
 
pradeepprakash profile image
pradeepprakash

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.

Thread Thread
 
tnypxl profile image
tnypxl

So long as the port you're using is accessible to ngrok, what Mosh sends back and forth doesn't matter.