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

RuiChen1113/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 device ID you set.

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

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

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'

You can customize an ID for your device. If the ID is not configured, RTTY will use the MAC address of the specified network interface as the ID. The format of the MAC address as the ID is: 1A2A3A4A5A6A

uci set rtty.@device[0].id='your-device-id'

Save configuration and apply

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

Query online devices: http://your-server-host:5912/list

Use your web browser to access your server, then enter the id 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.3%
  • Python 1.9%
  • CMake 1.3%
  • Shell 0.5%