then uses UDT (a reliable protocol from the 2000s) instead of TCP (a reliable protocol from the 1970s).
It’s the first time I come across age in a comparison of UDT vs TCP. In any case it’s more like 1980 vs. 1974, no?
The UDT project started in 2001 (…)
Oops, there goes my first comment in lobste.rs… Thanks for the clarification; I was thinking of UDP… and didn’t know about UDT!
Welcome aboard! Have a seat. If you see a blue lobster, please give it to me, thank you.
Hey, don’t feel bad…your comment got some useful replies. :)
If you like UDT, check this application out:
Really shows what it can do given how they use it. :)
Small objection to the ‘there isn’t another tool’ comment in readme: udr makes a UDT tunnel that rsync can use.
rsync over extremely fast UDT is likely > shoop, but nice to see something new. I’ll still give it a try.
Mosh seems like such a cool idea, but whenever I’ve ever used it, I’ve not found it any more tolerant of disconnects or laptop sleeps than ssh is. I end up using tmux anyway, so, what’s the point?
I’ve found mosh to be incredibly resilient, myself. I don’t think the point is to replace tmux. For example, every time I closed my laptop I’d lose my network and/or VPN connection and have to ssh / tmux attach again. With mosh I never needed to reconnect, ever. Even when I went home or whatever and found myself on a different network.
Lots of people feel this way. Personally, I feel mosh is great, precisely used together with tmux or screen. It can disconnect for a few moments, sure, but it comes back by itself, unlike ssh. Also, ssh freezes the screen when the connection is bad, while mosh lets you keep writing. To me the fact that the connection is left running in the background is very convenient. I guess I don’t see any downsides, especially if you get scrolling through tmux, screen or similar.
I sometimes have a few problems with a stale tmux session ending up causing visual hangs on the other clients.
That’s the complete opposite to my experience. I’ve had a mosh session open now across VPN reconnects, through different sides of the country, in airplanes… and I just checked, for just over 40 days. How were you using it? How would it disconnect? Maybe your use case is different. I use mosh to connect to the server that I run screen on.
It’s the opposite for me. It feels like a rather horific idea – it handles terminal drawing for me, breaks scrolling, is an ad-hoc screen syncing protocol, has hacks like guessing at what typing should do client side, and generally feels like it’s doing way too much.
But it handles disconnects well, so I tolerate it for certain things. Although I keep finding myself considering going back to screen + ssh again. I really wish for something that handled disconnects as well, but didn’t do all the other junk. But I haven’t been bothered enough to write something like that yet.