You can access your device's terminal from anywhere via the web. Differentiate your different device by device ID.
rtty is very suitable for remote maintenance your or your company's thousands of Linux devices deployed around the world.
- The client is writen in C language, very small, suitable for embedded Linux
- Execute command remotely in a batch of devices
- SSL support: openssl, mbedtls, CyaSSl(wolfssl)
- Very convenient to upload and download files
- Access different devices based on device ID
- Fully-featured terminal based on Xterm.js
- Simple to deployment and easy to use
Dependencies of the Client side
- libev - A full-featured and high-performance event loop
- mbedtls(polarssl), CyaSSl(wolfssl) or openssl - If you want to support SSL
How to install rtty
For Linux distribution
sudo apt install -y libev-dev libssl-dev # Ubuntu, Debian sudo pacman -S --noconfirm libev openssl # ArchLinux sudo yum install -y libev-devel openssl-devel # Centos
Clone the code of rtty
git clone --recursive https://github.com/zhaojh329/rtty.git
cd rtty && mkdir build && cd build cmake .. && make install
Select rtty in menuconfig and compile it
Target packages ---> Shell and utilities ---> [*] rtty
Usage: rtty [option] -I, --id=string Set an ID for the device(Maximum 63 bytes, valid character:letter, number, underline and short line) -h, --host=string Server's host or ipaddr(Default is localhost) -p, --port=number Server port(Default is 5912) -d, --description=string Adding a description to the device(Maximum 126 bytes) -a Auto reconnect to the server -s SSL on -D Run in the background -t, --token=string Authorization token -f username Skip a second login authentication. See man login(1) about the details -R Receive file -S file Send file -v, --verbose verbose -V, --version Show version --help Show usage
How to run rtty
Replace the following parameters with your own parameters
sudo rtty -I 'My-device-ID' -h 'your-server' -p 5912 -a -v -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:
http://your-server-host:5913, then click the connection button
connect devices with no web login required(you need to configure the device white list on the server)
Transfer file from local to remote device
Transfer file from remote device to the local
rtty -S test.txt
If your company is using RTTY, please add your company name here, thanks.