mosh-client man page

mosh-client — client-side helper for mosh

Synopsis

MOSH_KEY=KEY mosh-client IP PORT
mosh-client -c

Description

mosh-client is a helper program for the mosh(1) remote terminal application.

mosh itself is a setup script that establishes an SSH connection, runs the server-side helper mosh-server, and collects the server's port number and session key.

mosh then executes mosh-client with the server's IP address, port, and session key. mosh-client runs for the lifetime of the connection.

The 22-byte base64 session key given by mosh-server is supplied in the MOSH_KEY environment variable. This represents a 128-bit AES key that protects the integrity and confidentiality of the session.

For constructing new setup wrappers for remote execution facilities other than SSH, it may be necessary to invoke mosh-client directly.

With the -c option, mosh-client instead prints the number of colors of the terminal given by the TERM environment variable.

Environment Variables

MOSH_KEY
This variable must be set, and must contain a Base64-encoded cryptographic key from mosh-server(1).
MOSH_ESCAPE_KEY
See mosh(1).
MOSH_PREDICTION_DISPLAY
Controls local echo as described in mosh(1).
MOSH_TITLE_NOPREFIX
See mosh(1).

See Also

mosh(1), mosh-server(1).

Project home page: http://mosh.mit.edu

Author

mosh was written by Keith Winstein <mosh-devel@mit.edu>.

Bugs

Please report bugs to mosh-devel@mit.edu. Users may also subscribe to the mosh-users@mit.edu mailing list, at
http://mailman.mit.edu/mailman/listinfo…

Referenced By

mosh(1), mosh-server(1).

February 2012