create: 网页终端集成 ttyd,只走面板登录
MemRelay-Operation: memory-save:ltedongle-ttyd-2026-11-30 MemRelay-Resource: 794021be-c11b-4ad2-8994-6780dcddd1ee
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
title: 网页终端集成 ttyd,只走面板登录
|
||||||
|
type: decision
|
||||||
|
permalink: main/projects/bc51a377-ed2d-4afc-a176-554fce220d45/网页终端集成-ttyd-只走面板登录
|
||||||
|
stable_id: 794021be-c11b-4ad2-8994-6780dcddd1ee
|
||||||
|
scope: project
|
||||||
|
memory_type: decision
|
||||||
|
project_id: bc51a377-ed2d-4afc-a176-554fce220d45
|
||||||
|
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
||||||
|
status: active
|
||||||
|
revision: 1
|
||||||
|
request_id: ltedongle-ttyd-2026-11-30
|
||||||
|
created_at: '2026-11-30T09:57:41.512781+00:00'
|
||||||
|
updated_at: '2026-11-30T09:57:41.512781+00:00'
|
||||||
|
tags:
|
||||||
|
- terminal
|
||||||
|
- ttyd
|
||||||
|
- mifipanel
|
||||||
|
---
|
||||||
|
|
||||||
|
网页终端使用官方 ttyd 1.7.7 的 aarch64 静态程序,放在 mifipanel/offline/ttyd,SHA256 为 b38acadd89d1d396a0f5649aa52c539edbad07f4bc7348b27b4f4b7219dd4165。面板 1.1 启动它,只监听 127.0.0.1:7681,参数为 --base-path /tty --writable --max-clients 4 --cwd /,壳是 /bin/bash。浏览器只访问面板的 /tty/,登录之后才反代;登录 cookie 不转给 ttyd。热点上打不开 7681。
|
||||||
Reference in New Issue
Block a user