Update mosh-server man page

This commit is contained in:
Keith Winstein
2012-03-18 03:29:25 -04:00
parent 89d1c88bcf
commit 235fc6b559
+26 -8
View File
@@ -19,8 +19,10 @@
mosh-server \- server-side helper for mosh mosh-server \- server-side helper for mosh
.SH SYNOPSIS .SH SYNOPSIS
.B mosh-server .B mosh-server
[IP address to bind] new
[port number to bind] [-s]
[-i IP]
[-p port]
[-- command...] [-- command...]
.br .br
.SH DESCRIPTION .SH DESCRIPTION
@@ -34,19 +36,35 @@ detaches from the terminal, and waits for the \fBmosh-client\fP to
establish a connection. establish a connection.
By default, \fBmosh-server\fP binds to a port between 60000 and By default, \fBmosh-server\fP binds to a port between 60000 and
61000. If a port number is supplied on the command line, 61000 and executes the user's login shell.
\fBmosh-server\fP will bind to it instead.
Without a command argument, \fBmosh-server\fP executes the user's On platforms with \fButempter\fP, \fBmosh-server\fP maintains an entry
login shell. in the
\fBmosh-server\fP maintains an entry in the
.BR utmp(5) .BR utmp(5)
file to indicate its process ID, whether the session is connected, file to indicate its process ID, whether the session is connected,
and the client's current IP address. and the client's current IP address.
\fBmosh-server\fP exits when the client terminates the connection. \fBmosh-server\fP exits when the client terminates the connection.
.SH OPTIONS
The argument "new" must be first on the command line to use
command-line options.
.TP
.B \-s
bind to the local interface used for an incoming SSH connection, given
in the \fBSSH_CONNECTION\fP environment variable (for multihomed
hosts)
.TP
.B \-i \fIIP\fP
IP address of the local interface to bind (for multihomed hosts)
.TP
.B \-p \fIPORT\fP
UDP port number to bind
.SH EXAMPLE .SH EXAMPLE
.nf .nf