diff --git a/index.html b/index.html index 419ad66..b00dfc6 100644 --- a/index.html +++ b/index.html @@ -61,27 +61,32 @@ USAGE: ttyd [options] <command> [<arguments...>] VERSION: - 1.2.2 + 1.3.0 OPTIONS: --port, -p Port to listen (default: 7681, use `0` for random port) - --interface, -i Network interface to bind + --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 --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 (0-9, default: 7) + --debug, -d Set log level (default: 7) --version, -v Print the version and exit --help, -h Print this text and exit + +Visit https://github.com/tsl0922/ttyd to get more information and report bugs.

Example Usage

ttyd starts web server at port 7681 by default, you can use the -p option to change it, the command will be started with arguments as options. For example, run: