通过 Web 浏览器访问你的终端。项目名称里面的“r”是指“反向代理”或者“远程”。它由客户端和服务端组成。 你可以根据MAC地址通过Web浏览器访问你的任意一台终端。
授权协议:GPLv3
开发语言:JavaScript
操作系统:跨平台
软件作者:zhaojh329
rtty非常适合远程维护你的或者你公司的部署在全球各地的成千上万的Linux设备。
如何在 OpenWRT 中使用
src-git libuwsc https://github.com/zhaojh329/libuwsc-feed.git
src-git rtty https://github.com/zhaojh329/rtty-feed.git
for chaos_calmer(15.05)
src-git libuwsc https://github.com/zhaojh329/libuwsc-feed.git;for-15.05
src-git rtty https://github.com/zhaojh329/rtty-feed.git;for-15.05
安装 rtty 包:
./scripts/feeds update libuwsc rtty
./scripts/feeds install -a -p rtty
在 menuconfig 中选择包 rtty 并编译新的映像。
Utilities --->
Terminal --->
rtty................................... Share your terminal over the web
配置服务器参数
uci set rtty.@server[0].host='your server host'
uci set rtty.@server[0].port='your server port'
uci commit
/etc/init.d/rtty restart
部署服务端
安装依赖
sudo apt install python3 python3-pip
sudo pip3 install aiohttp uvloop
克隆代码
git clone https://github.com/zhaojh329/rtty.git
手动运行
cd rtty/server && ./rtty.py -p 5912
安装自启动脚本,后台运行
sudo ./install.sh
sudo /etc/init.d/rtty start
如何使用
使用你的Web浏览器访问你的服务器,然后输入你要访问的终端的MAC地址,然后点击连接按钮。http://your-server-host:5912
领取专属 10元无门槛券
私享最新 技术干货