ttyd一个linux的网页版本远程终端
远程地址: https://github.com/tsl0922/ttyd
USAGE:
ttyd [options] <command> [<arguments...>]
VERSION:
1.6.3
OPTIONS:
-p, --port 端口监听 (默认: 7681, 使用 `0` 即随机生成端口)
-i, --interface 网络接口绑定(例如:eth0),或 UNIX 指定socket路径(例如:/var/run/ttyd.sock)
-c, --credential 基本身份验证凭证 (格式: 用户名:密码)
-u, --uid 用User id运行
-g, --gid 用Group id运行
-s, --signal 退出时发送给命令的信号 (默认: 1, SIGHUP)
-a, --url-arg Allow client to send command line arguments in URL (eg: http://localhost:7681?arg=foo&arg=bar)
-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
-T, --terminal-type Terminal type to report, default: xterm-256color
-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
-b, --base-path Expected base path for requests coming from a reverse proxy (eg: /mounted/here, max length: 128)
-P, --ping-interval Websocket ping 间隔(秒) (默认: 300)
-6, --ipv6 IPv6支持开关
-S, --ssl SSL支持开关
-C, --ssl-cert SSL 证书文件地址
-K, --ssl-key SSL key 文件地址
-A, --ssl-ca 客户端证书验证SSL CA文件地址
-d, --debug 设置日志级别 (默认级别: 7)
-v, --version 查看版本编号
-h, --help 帮助