Repository navigation
v1.0.3
v1.0.3
新增 Web Terminal 功能,可以直接在浏览器里操作服务器终端。
变更:
- 新增 Web Terminal(基于 xterm.js),支持浏览器内 shell 操作
- 终端使用独立密码,和监控登录密码分开
- shell token 有效期 1 小时,空闲超过 30 分钟自动断开
- 需要在配置里手动开启 enableShell 并设置 shell_password
安装:
bash <(curl -sL https://raw.githubusercontent.com/xiaoxinmm/sysmon/master/install.sh)
配置示例:
{
"port": 8888,
"password": "your-password",
"enableShell": true,
"shell_password": "your-shell-password"
}
注意事项:
- 建议在可信网络下使用 Web Terminal
- password 和 shell_password 都要设置才能使用终端功能