You can access your device's terminal from anywhere via the web. Differentiate your different device by device ID(If the ID is not set, the MAC address of your device is used).
rtty is very suitable for remote maintenance your or your company's thousands of Linux devices deployed around the world.
wget -qO- https://raw.githubusercontent.com/zhaojh329/rtty/master/tools/install.sh | sudo bash
Usage: rtty [option] -i ifname # Network interface name - Using the MAC address of the interface as the device ID -I id # Set an ID for the device(Maximum 63 bytes, valid character:letters and numbers and underlines and short lines) - If set, it will cover the MAC address(if you have specify the ifname) -h host # Server host -p port # Server port(Default is 5912) -a # Auto reconnect to the server -v # verbose -d # Adding a description to the device(Maximum 126 bytes) -s # SSL on -k keepalive # keep alive in seconds for this client. Defaults to 5 -V # Show version -D # Run in the background -t token # Authorization token
Run RTTY(Replace the following parameters with your own parameters)
sudo rtty -I 'My-device-ID' -h 'your-server' -p 5912 -a -v -s -d 'My Device Description'
If your rttys is configured with a token, add the following parameter(Replace the following token with your own)
Use your web browser to access your server:
https://your-server-host:5912, then click the connection button
You can easily embed RTTY into your existing platform:
Transfer file from local to remote device
Transfer file from remote device to the local
rtty -S test.txt