OneCat2015/Remote-My-DSH2

remote-my-dsh

remote-my-dsh: DSH Web UI remote-access gateway — token challenge-response auth + AEAD self-encryption + optional TLS

AI 分析

为 DSH 提供安全的远程访问网关,保障公网访问时的数据安全与隐私。适合需要从外网安全连接家中或公司 DSH 服务的用户。

パッケージ
remote-my-dsh
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/08/22

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

常用配置 / Common Configuration

/gateway.yml(默认 ~/.dsh/profiles/web/gateway.yml):

字段默认说明
port3443监听端口
tlsoffauto = 自签,`` = 真证书
cryptoauto数据面自加密
sessionbrowser+2h浏览器在线,断线保存 2 小时可续
refresh12h"记住此设备"恢复凭据有效期
tokenLifetimepermanent访问令牌自动轮换周期:once = 登录成功后立即轮换一次;时长档到期自动轮换;permanent = 不自动轮换。轮换不杀已保持会话,但会使已记住设备的免登录恢复失效
FieldDefaultDescription
port3443Listening port
tlsoffauto = self-signed, `

` = a real certificate |

| crypto | auto | Self-encryption of the data plane | | session | browser+2h | Browser-online sessions; resumable for 2 hours after disconnect | | refresh | 12h | Validity of the "Remember this device" recovery credential | | tokenLifetime | permanent | Automatic access-token rotation period: once = rotate once right after a successful login; a duration rotates on expiry; permanent = never rotate. Rotation keeps live sessions alive but invalidates "remembered device" auto-login |

重要提示:不配 TLS 的远程访问是明文 HTTP——数据内容是加密的,但页面本身无法防御主动中间人攻击。在不可信网络或传输敏感内容时,请先配置 tls: auto(自签证书)或真实证书。

Important: remote access without TLS is plaintext HTTP — the data content is encrypted, but the page itself cannot defend against an active man-in-the-middle. On untrusted networks or when transmitting sensitive content, configure tls: auto (self-signed) or a real certificate first.