aboutsummaryrefslogtreecommitdiffhomepage
path: root/man
diff options
context:
space:
mode:
authorGravatar John Hood <cgull@glup.org>2016-04-17 19:01:20 -0400
committerGravatar John Hood <cgull@glup.org>2016-05-08 22:47:54 -0400
commiteb9897641042a66b7d4f9cbe823619272022d3d1 (patch)
treeb177b0aadf02b81dc2943492896d00fb71b5c350 /man
parent880c6393612ea6ca27a4b7e4e035b82885e8e7ab (diff)
Add --experimental-remote-ip option.
Diffstat (limited to 'man')
-rw-r--r--man/mosh.131
1 files changed, 31 insertions, 0 deletions
diff --git a/man/mosh.1 b/man/mosh.1
index ef6c984..3b6b3a1 100644
--- a/man/mosh.1
+++ b/man/mosh.1
@@ -82,6 +82,10 @@ apply the locale-related environment variables from the client and try
again.
.SH OPTIONS
+Options named \fB \-\-experimental-*\fP are subject to change or
+removal in future versions of Mosh; their design or function is not
+yet final.
+
.TP
.B \fIcommand\fP
Command to run on remote host. By default, \fBmosh\fP executes a login shell.
@@ -202,6 +206,33 @@ Invoke \fBmosh-server\fP locally, without using \fBssh\fP. This
option requires the \fBhost\fP argument to be a local, numeric
IPv4/IPv6 address. This option is useful for testing.
+.TP
+.B \-\-experimental\-remote\-ip={proxy|local|remote}
+Select the method used to discover the IP address that the
+\fBmosh-client\fP connects to.
+
+The default is \fBproxy\fP, which uses SSH's
+.B \-\-ssh\-proxy\-command
+option to generate and report the exact address that \fBssh\fP uses to
+connect to the remote host. This option is generally the most
+compatible with hosts and other options configured in \fBssh\fP
+configuration files. However, this may not work for some
+configurations, or for environments where a \fBssh\fP bastion host
+forwards to a remote machine. It only works with \fBOpenSSH\fP.
+
+With \fBremote\fP, the server's
+.B SSH_CONNECTION
+environment variable will be used. This is useful for environments
+where \fBssh\fP forwarding is used, or the
+.B \-\-ssh\-proxy\-command
+option is used for other purposes.
+
+With \fBlocal\fP, Mosh resolves the hostname given on its command
+line, and uses that address for both \fBssh\fP and Mosh connections.
+This option ignores any configuration in
+.B ssh_config
+for the same hostname.
+
.SH ESCAPE SEQUENCES
The default escape character used by Mosh is ASCII RS (decimal 30).