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>
This commit is contained in:
Philipp Haselwarter
2013-04-16 18:37:40 +02:00
committed by Keith Winstein
parent 9314ea18fa
commit fc70612de6
2 changed files with 23 additions and 3 deletions
+9 -1
View File
@@ -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:
@@ -128,6 +128,14 @@ only port that is forwarded through a firewall to the
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