1MOSH(1) General Commands Manual MOSH(1)
2
3
4
6 mosh-client - client-side helper for mosh
7
9 MOSH_KEY=KEY mosh-client [-v] IP PORT
10 mosh-client -c
11
13 mosh-client is a helper program for the mosh(1) remote terminal appli‐
14 cation.
15
16 mosh itself is a setup script that establishes an SSH connection, runs
17 the server-side helper mosh-server, and collects the server's port num‐
18 ber and session key.
19
20 mosh then executes mosh-client with the server's IP address, port, and
21 session key. mosh-client runs for the lifetime of the connection.
22
23 The 22-byte base64 session key given by mosh-server is supplied in the
24 MOSH_KEY environment variable. This represents a 128-bit AES key that
25 protects the integrity and confidentiality of the session.
26
27 For constructing new setup wrappers for remote execution facilities
28 other than SSH, it may be necessary to invoke mosh-client directly.
29
30 With the -c option, mosh-client instead prints the number of colors of
31 the terminal given by the TERM environment variable.
32
33 The -v option will print some debugging information on standard error.
34 More instances of this flag will result in more debugging information.
35 If standard error is not redirected from the terminal, the display will
36 be corrupted and quickly become unusable.
37
38
40 MOSH_KEY
41 This variable must be set, and must contain a Base64-encoded
42 cryptographic key from mosh-server(1).
43
44
45 MOSH_ESCAPE_KEY
46 See mosh(1).
47
48
49 MOSH_PREDICTION_DISPLAY
50 Controls local echo as described in mosh(1).
51
52
53 MOSH_TITLE_NOPREFIX
54 See mosh(1).
55
56
57
59 mosh(1), mosh-server(1).
60
61 Project home page: https://mosh.org
62
63
65 mosh was written by Keith Winstein <mosh-devel@mit.edu>.
66
68 Please report bugs to mosh-devel@mit.edu. Users may also subscribe to
69 the mosh-users@mit.edu mailing list, at
70 http://mailman.mit.edu/mailman/listinfo/mosh-users
71
72
73
74
75 February 2012 MOSH(1)