Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from zhaojh329/rtty

Access your terminal over the web browser. The 'r' in the name refers to the 'Reverse Proxy' or 'Remote'. It is composed of the client and the server.

License

Notifications You must be signed in to change notification settings

Subzeroking/rtty

 
 

Repository files navigation

rtty(中文)

Access your terminal over the web browser. The 'r' in the name refers to the 'Reverse Proxy' or 'Remote'. It is composed of the client and the server. You can access any of your terminals through a web browser based on the MAC address.

rtty is very suitable for remote maintenance your or your company's thousands of Linux devices deployed around the world.

Keep Watching for More Actions on This Space

Dependencies for Server side

Dependencies for Client side

How to use on OpenWRT

add new feed into "feeds.conf.default":

src-git libuwsc https://github.com/zhaojh329/libuwsc-feed.git
src-git rtty https://github.com/zhaojh329/rtty-feed.git

Install rtty packages:

./scripts/feeds update libuwsc rtty
./scripts/feeds install -a -p rtty

Select package rtty in menuconfig and compile new image.

Utilities  --->
    Terminal  --->
        <*> rtty................................... Share your terminal over the web

Configuring the server parameter

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

Deploying the server side

Install dependencies

sudo apt install python3 python3-pip
sudo pip3 install aiohttp uvloop

clone code

git clone https://github.com/zhaojh329/rtty.git

Manual run

cd rtty/server && ./rtty.py -p 5912

Install the automatic boot script

sudo ./install.sh
sudo /etc/init.d/rtty start

Usage

Use your web browser to access your server, then enter the MAC address of the terminal you want to access, and then click the connection button

http://your-server-host:5912

Contributing

If you would like to help making rtty better, see the CONTRIBUTING.md file.

About

Access your terminal over the web browser. The 'r' in the name refers to the 'Reverse Proxy' or 'Remote'. It is composed of the client and the server.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.4%
  • Python 1.8%
  • CMake 1.3%
  • Shell 0.5%