Update man pages to reflect port selection (closes #21 github issue)
This commit is contained in:
+6
-1
@@ -20,6 +20,7 @@ mosh-server \- server-side helper for mosh
|
||||
.SH SYNOPSIS
|
||||
.B mosh-server
|
||||
[IP address to bind]
|
||||
[port number to bind]
|
||||
.br
|
||||
.SH DESCRIPTION
|
||||
\fBmosh-server\fP is a helper program for the
|
||||
@@ -29,7 +30,11 @@ remote terminal application.
|
||||
\fBmosh-server\fP binds to a high UDP port and chooses an encryption
|
||||
key to protect the session. It prints both on standard output,
|
||||
detaches from the terminal, and waits for the \fBmosh-client\fP to
|
||||
establish a connection via UDP.
|
||||
establish a connection.
|
||||
|
||||
By default, \fBmosh-server\fP binds to a port between 60000 and
|
||||
61000. If a port number is supplied on the command line,
|
||||
\fBmosh-server\fP will bind to it instead.
|
||||
|
||||
\fBmosh-server\fP maintains an entry in the
|
||||
.BR utmp(5)
|
||||
|
||||
+19
-2
@@ -57,8 +57,10 @@ round-trip and do not cause lasting effect.
|
||||
|
||||
\fBmosh\fP does not support X forwarding or the non-interactive uses
|
||||
of SSH, including port forwarding or sshfs. \fBmosh\fP works through
|
||||
typical client-side network address translators but requires high-port
|
||||
UDP to pass between client and server.
|
||||
typical client-side network address translators but requires UDP to
|
||||
pass between client and server. By default, \fBmosh\fP uses the ports
|
||||
between 60000 and 61000, but allows the user to request a particular
|
||||
UDP port instead.
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
@@ -86,6 +88,21 @@ confident. This generally means a previous prediction on the same row
|
||||
of the terminal has been confirmed by the server, without any
|
||||
intervening control character keystrokes.
|
||||
|
||||
.TP
|
||||
.B \-a
|
||||
Synonym for \-\-predict=always
|
||||
|
||||
.TP
|
||||
.B \-n
|
||||
Synonym for \-\-predict=never
|
||||
|
||||
.TP
|
||||
.B \-p \fINUM\fP, \-\-port=\fINUM\fP
|
||||
Use a particular server-side UDP port, for example, if this is the
|
||||
only port that is forwarded through a firewall to the
|
||||
server. Otherwise, \fBmosh\fP will choose a port between 60000 and
|
||||
61000.
|
||||
|
||||
.SH SEE ALSO
|
||||
.BR mosh-client (1),
|
||||
.BR mosh-server (1).
|
||||
|
||||
+5
-3
@@ -33,14 +33,16 @@ my $port_request = undef;
|
||||
|
||||
my $usage =
|
||||
qq{Usage: $0 [options] [user@]host
|
||||
--client=PATH mosh client on local machine (default: "mosh-client")
|
||||
--server=PATH mosh server on remote machine (default: "mosh-server")
|
||||
--client=PATH mosh client on local machine
|
||||
(default: "mosh-client")
|
||||
--server=PATH mosh server on remote machine
|
||||
(default: "mosh-server")
|
||||
|
||||
--predict=adaptive local echo for slower links [default]
|
||||
-a --predict=always use local echo even on fast links
|
||||
-n --predict=never never use local echo
|
||||
|
||||
-p --port=NUM server-side UDP port
|
||||
-p NUM --port=NUM server-side UDP port
|
||||
|
||||
Please report bugs to mosh-devel\@mit.edu.
|
||||
Mosh home page: http://mosh.mit.edu\n};
|
||||
|
||||
Reference in New Issue
Block a user