Clarify that -p does not affect SSH port

This commit is contained in:
Ashish Gupta
2016-04-27 21:44:28 +00:00
committed by John Hood
parent 0c2088d1da
commit 3ba5a29758
4 changed files with 5 additions and 4 deletions
+1
View File
@@ -106,6 +106,7 @@ How it works
To function, Mosh requires UDP datagrams to be passed between client To function, Mosh requires UDP datagrams to be passed between client
and server. By default, `mosh` uses a port number between 60000 and 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. 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 Advice to distributors
---------------------- ----------------------
+1 -1
View File
@@ -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.\ 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, To function, Mosh requires UDP datagrams to be passed between client and server. By default,
\f1\fs24 \cb3 mosh \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 \pard\pardeftab720\sa200
\b\fs48 \cf0 More info\ \b\fs48 \cf0 More info\
+2 -3
View File
@@ -191,9 +191,8 @@ for example, if this is the
only port that is forwarded through a firewall to 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 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 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 .TP
.B \-\-bind\-server={ssh|any|\fIIP\fP} .B \-\-bind\-server={ssh|any|\fIIP\fP}
+1
View File
@@ -105,6 +105,7 @@ qq{Usage: $0 [options] [--] [user@]host [command...]
--family=prefer-inet6 use all network types, but try IPv6 first --family=prefer-inet6 use all network types, but try IPv6 first
-p PORT[:PORT2] -p PORT[:PORT2]
--port=PORT[:PORT2] server-side UDP port or range --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 --bind-server={ssh|any|IP} ask the server to reply from an IP address
(default: "ssh") (default: "ssh")