diff --git a/README.md b/README.md index 0c79463..50388bc 100644 --- a/README.md +++ b/README.md @@ -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 ---------------------- diff --git a/macosx/readme.rtf b/macosx/readme.rtf index 92841aa..dc53e86 100644 --- a/macosx/readme.rtf +++ b/macosx/readme.rtf @@ -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\ diff --git a/man/mosh.1 b/man/mosh.1 index d163206..a71c100 100644 --- a/man/mosh.1 +++ b/man/mosh.1 @@ -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} diff --git a/scripts/mosh.pl b/scripts/mosh.pl index 9d84a51..25745be 100755 --- a/scripts/mosh.pl +++ b/scripts/mosh.pl @@ -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")