Clarify that -p does not affect SSH port
This commit is contained in:
@@ -106,6 +106,7 @@ How it works
|
||||
To function, Mosh requires UDP datagrams to be passed between client
|
||||
and server. By default, `mosh` uses a port number between 60000 and
|
||||
61000, but the user can select a particular port with the -p option.
|
||||
Please note that the -p option has no effect on the port used by SSH.
|
||||
|
||||
Advice to distributors
|
||||
----------------------
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@ From this point,
|
||||
If the client changes IP addresses, the server will begin sending to the client on the new IP address within a few seconds.\
|
||||
To function, Mosh requires UDP datagrams to be passed between client and server. By default,
|
||||
\f1\fs24 \cb3 mosh
|
||||
\f0\fs28 \cb1 uses a port number between 60000 and 61000, but the user can select a particular port with the -p option.\
|
||||
\f0\fs28 \cb1 uses a port number between 60000 and 61000, but the user can select a particular port with the -p option. Please note that the -p option has no effect on the port used by SSH.\
|
||||
\pard\pardeftab720\sa200
|
||||
|
||||
\b\fs48 \cf0 More info\
|
||||
|
||||
+2
-3
@@ -191,9 +191,8 @@ for example, if this is the
|
||||
only port that is forwarded through a firewall to the
|
||||
server. With \fB\-p 0\fP, the server will let the operating system pick an
|
||||
available UDP port. Otherwise, \fBmosh\fP will choose a port between 60000 and
|
||||
61000.
|
||||
|
||||
|
||||
61000. Please note that this option does not affect the server-side
|
||||
port used by SSH.
|
||||
|
||||
.TP
|
||||
.B \-\-bind\-server={ssh|any|\fIIP\fP}
|
||||
|
||||
@@ -105,6 +105,7 @@ qq{Usage: $0 [options] [--] [user@]host [command...]
|
||||
--family=prefer-inet6 use all network types, but try IPv6 first
|
||||
-p PORT[:PORT2]
|
||||
--port=PORT[:PORT2] server-side UDP port or range
|
||||
(No effect on server-side SSH port)
|
||||
--bind-server={ssh|any|IP} ask the server to reply from an IP address
|
||||
(default: "ssh")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user