![]() ![]() Mosh is a remote terminal application like Secure Shell (SSH) with better support for connections over an unreliable network. Mosh uses existing infrastructure for authentication and login, focusing only on solving the problem of terminal state prediction and synchronization, and roaming connections. SSH operating in a character-at-a-time mode, having each echo and line editing operations occurring on the remote host results in a terrible user experience when using an unreliable network connection.Īdditionally, if the amount of lost packets is excessive the connection may be dropped and the entire terminal state will be lost, forcing the user to start from scratch or use a terminal multiplexer like tmux or screen. Mosh makes remote servers feel more like the local computer, because most keystrokes are reflected immediately on the user’s display - even in full-screen programs like a text editor or mail reader. > Mosh performs predictive client-side echoing and line editing without any change to server software, and without regard to which application is running. Mosh's approach to the problem is simple: A low confidence prediction will not be shown to the user. The Mosh client decides how confident to be in a prediction based on the success of its past predictions. Mosh decouples this, providing client-side prediction and having the client repair incorrect predictions after synchronizing with the server.Īrguably the most important feature of Mosh, perhaps even more important than the reduction of keystroke latency.īeing able to freely roam between networks while maintaining a connection to the server *feels* like magic. SSH connections require at least one round-trip as the keystroke has to be sent to the server to correctly render the next buffer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |