4 ms·
Is there any answer other than "mosh, duh"? Keithw (who's now a prof at Stanford) wrote mosh for that use case (high loss high latency), if memory serves corre
by loxias 5y ago
Is there any answer other than "mosh, duh"?
Keithw (who's now a prof at Stanford) wrote mosh for that use case (high loss high latency), if memory serves correctly. (which it might not! being as apparently an entire decade has passed since "what feels like last month")
Also, there's some terminal cleverness, which I admit, to great embarrassment, I still haven't bothered to deeply understand (my "sensai", who offered to help me grok it if I ever got stuck, left this world too soon).
Mosh's ability to preserve interactive responsiveness, even through the most high latency, low bandwidth, high packet loss environments is unparalleled! You know, for all those times when you're on a cross country flight, your only network access is a IP-over-DNS tunnel, and you simply MUST ~zephyr~ chat with your friends. Uh, I mean, do mission critical work... ;)
- hosh 5y agoI agree. I'm not sure what this author is talking about with tmux + mosh and adding the latency back in. Maybe because I run the tmux on the remote server and I mosh in. I don't miss native windowing or mouse controls at all, and still have scrollback. I modified the keybindings so it is easier for me (as a vim user) to remember -- including window splits, layout changes, and adjusting pane sizes. I don't just use mosh in high latency, low bandwidth. The fact that mosh will reconnect even after I close the laptop (and put it in suspension), move from wifi network to cell and back, it's all fairly seamless. That makes it practical for my primary dev and ops environment on a remote server. I have had this setup for about 5 years now and use it every day. I used to use something like autossh, and it did not work as well.
- evilos 5y agoProbably just a typo but you likely meant "sensei" which is mentor/teacher/senior where "sensai" is detergent.
- minikomi 5y agoProbably just a typo but you likely meant "senzai" which is soap/detergent where "sensai" is "delicate" or "sensitive".
- loxias 5y agoThanks :) I'm embarrassed, I can't edit the comment anymore. Making it more amusing, I know I suck at spelling so I even googled "sensai" first, before posting, quickly saw that it didn't have the "did you mean...?" prompt, and assumed it was the right spelling. Oops. :)
- vk6flab 5y agoI was excited to learn about `mosh` through your comment because I'm dealing with X11 connections dropping out when IP addresses change. Turns out that it has been a github issue since 7 March 2012 with no progress or assignees: https://github.com/mobile-shell/mosh/issues/41 https://github.com/mobile-shell/mosh/issues/41 Anyone have a robust way of forwarding X11 from a Docker container from a remote host via ssh, even when an IP address changes, or a connection drops? (Right now I'm typing this in a Firefox container running on Docker on a minimal virtual machine, ssh'd from my workstation, so I can use any version of anything without having to `trash` my workstation.)