Update to 1.4.0

This commit is contained in:
Shuanglei Tao
2018-01-18 22:18:06 +08:00
parent 82a79ba750
commit dc20b9c2f5

View File

@@ -23,6 +23,7 @@
<ul>
<li>Built on top of <a href="https://libwebsockets.org">Libwebsockets</a> with C for speed</li>
<li>Fully-featured terminal based on <a href="https://github.com/sourcelair/xterm.js">Xterm.js</a> with CJK (<em>Chinese, Japanese, Korean</em>) and IME support</li>
<li>Graphical <a href="https://en.wikipedia.org/wiki/ZMODEM">ZMODEM</a> integration with <a href="https://ohse.de/uwe/software/lrzsz.html">lrzsz</a> support</li>
<li>SSL support based on <a href="https://www.openssl.org">OpenSSL</a></li>
<li>Run any custom command with options</li>
<li>Basic authentication support and many other custom options</li>
@@ -70,31 +71,30 @@ USAGE:
ttyd [options] &lt;command&gt; [&lt;arguments...&gt;]
VERSION:
1.3.3
1.4.0
OPTIONS:
--port, -p Port to listen (default: 7681, use `0` for random port)
--interface, -i Network interface to bind (eg: eth0), or UNIX domain socket path (eg: /var/run/ttyd.sock)
--credential, -c Credential for Basic Authentication (format: username:password)
--uid, -u User id to run with
--gid, -g Group id to run with
--signal, -s Signal to send to the command when exit it (default: SIGHUP)
--signal-list Print a list of supported signals
--reconnect, -r Time to reconnect for the client in seconds (default: 10)
--readonly, -R Do not allow clients to write to the TTY
--client-option, -t Send option to client (format: key=value), repeat to add more options
--check-origin, -O Do not allow websocket connection from different origin
--max-clients, -m Maximum clients to support (default: 0, no limit)
--once, -o Accept only one client and exit on disconnection
--browser, -B Open terminal with the default system browser
--index, -I Custom index.html path
--ssl, -S Enable SSL
--ssl-cert, -C SSL certificate file path
--ssl-key, -K SSL key file path
--ssl-ca, -A SSL CA file path for client certificate verification
--debug, -d Set log level (default: 7)
--version, -v Print the version and exit
--help, -h Print this text and exit
-p, --port Port to listen (default: 7681, use `0` for random port)
-i, --interface Network interface to bind (eg: eth0), or UNIX domain socket path (eg: /var/run/ttyd.sock)
-c, --credential Credential for Basic Authentication (format: username:password)
-u, --uid User id to run with
-g, --gid Group id to run with
-s, --signal Signal to send to the command when exit it (default: 1, SIGHUP)
-r, --reconnect Time to reconnect for the client in seconds (default: 10)
-R, --readonly Do not allow clients to write to the TTY
-t, --client-option Send option to client (format: key=value), repeat to add more options
-O, --check-origin Do not allow websocket connection from different origin
-m, --max-clients Maximum clients to support (default: 0, no limit)
-o, --once Accept only one client and exit on disconnection
-B, --browser Open terminal with the default system browser
-I, --index Custom index.html path
-S, --ssl Enable SSL
-C, --ssl-cert SSL certificate file path
-K, --ssl-key SSL key file path
-A, --ssl-ca SSL CA file path for client certificate verification
-d, --debug Set log level (default: 7)
-v, --version Print the version and exit
-h, --help Print this text and exit
Visit https://github.com/tsl0922/ttyd to get more information and report bugs.
</code></pre>