Hacker News new | ask | show | jobs
by freedomben 497 days ago
Just a side note, I think mosh is a much better tool for stopping the disconnections from network changes or laptop sleeps. It uses UDP under the hood instead of TCP so it seamlessly supports roaming (changing of IP addresses). Also brings some great performance improvements as well, especially when the remote process is dumping lots of text to standard out
2 comments

After a while though, particularly on flakey connections, I end up with dozens of stale mosh sessions on each server, all listening for inbound connections that will never come.

The quickest way to clear them seems to be pkill mosh and then reconnect. It's a known bug with no anticipated fix.

Yes, mosh is great.

Except, neither RHEL nor SLES include it in the base repo. This means getting it approved and installed on servers in most enterprises is never ever going to happen.

Thus, mosh is dead to me (a poor sysadmin who lives under constant fear of The Security Team).

Good point. It also requires opening some UDP ports, which many security teams balk at. Real shame though because it makes life a lot better.