Mosh
Mosh is an alternative interactive SSH terminal. It has support for roaming and local echo. It also aims to improve responsiveness on intermittent, and high latency connections.
Installation
Note: Mosh must be installed on both the server and client.
Install the mosh package, or mosh-gitAUR for the development revision.
The server and client can use different versions of Mosh, but some features are not available in older versions. For example, truecolor support requires that both the server and client use Mosh 1.4.0 or newer.
Usage
Note: Mosh by design does not let you access session history, consider installing a terminal multiplexer such as tmux or GNU Screen.
Mosh sessions by default use the first available UDP port in the 60001-60999 range, so it should be accessible in the server.
To connect, run:
$ mosh user@server-address
To send ssh options for connecting:
$ mosh --ssh="ssh -p 2222" user@server-address
You can make options permanent by using the usual OpenSSH Client Configuration.
Note: Mosh has an undocumented command line option
--predict=experimental
which produces more aggressive echoing of local keystrokes. Users interested in low-latency visual confirmation of keyboard input may prefer this prediction mode.gollark: And have had various security issues because apparently the entire thing is designed by bees. Why do we even *have* SIM cards?
gollark: I think SIM cards actually run Java applications of some kind.
gollark: Well, the entire phone network is apparently awful in a variety of ways.
gollark: > 1987 - Larry Wall falls asleep and hits Larry Wall's forehead on the keyboard. Upon waking Larry Wall decides that the string of characters on Larry Wall's monitor isn't random but an example program in a programming language that God wants His prophet, Larry Wall, to design. Perl is born.
gollark: Given that it doesn't mention hex, maybe it's in another context.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.