aboutsummaryrefslogtreecommitdiffhomepage
path: root/man
diff options
context:
space:
mode:
authorGravatar Philipp Haselwarter <philipp@haselwarter.org>2013-04-16 18:37:40 +0200
committerGravatar Keith Winstein <keithw@mit.edu>2013-04-28 15:14:47 -0400
commitfc70612de6d1390c943b7a470699e73dced5f110 (patch)
tree508f8e3a5555226624029e1d13e372f5d980198c /man
parent9314ea18fab323f3b981a412d7a765f66abfaab3 (diff)
mosh perl wrapper: New option --bind-ip={ssh|IP}
Allow overriding the switch passed to mosh-server from -s to -i IP. Signed-off-by: Philipp Haselwarter <philipp@haselwarter.org>
Diffstat (limited to 'man')
-rw-r--r--man/mosh.110
1 files changed, 9 insertions, 1 deletions
diff --git a/man/mosh.1 b/man/mosh.1
index 9463740..f7f3efe 100644
--- a/man/mosh.1
+++ b/man/mosh.1
@@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
-.TH MOSH 1 "October 2012"
+.TH MOSH 1 "April 2013"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@@ -129,6 +129,14 @@ server. Otherwise, \fBmosh\fP will choose a port between 60000 and
61000.
.TP
+.B \-\-bind\-ip={ssh|\fIIP\fP}
+Bind the server to the ip of the ssh client or to IP by passing either the -s
+switch (default) or -i IP to \fBmosh-server\fP. This is useful when the login
+happens from an address different from the one used by the \fBmosh-client\fP.
+For example, if ssh is served through \fBsslh\fP, \fBSSH_CONNECTION\fP might be
+set to 127.0.0.1, but \fBmosh-server\fP can still be bound to 0.0.0.0.
+
+.TP
.B \-\-no\-init
Do not send the \fBsmcup\fP initialization string and \fBrmcup\fP
deinitialization string to the client's terminal. On many terminals