Linux terminal tools accessible via the web!
rtty consists of client and server. The client is written in C language, the server is written in GO language, and the front-end interface is written in vue. Use rtty to access your device's terminal from anywhere through the web interface and identify your different devices through device IDs. rtty is great for remotely managing Linux devices.
characteristic
-
Client C language implementation, very small, suitable for embedded Linux
-
- SSL is not supported: rtty(32K) libev(56K)
- Support SSL: libmbedtls(88K) libmbedcrypto(241K) libmbedx509(48k)
-
Remote batch execution of commands
-
Support SSL: openssl, mbedtls, CyaSSl(wolfssl)
-
SSL Two-way Authentication (mTLS)
-
Very convenient to upload and download files
-
Access different devices based on device ID
-
Support HTTP proxy to access your device's Web
-
Full-featured terminal based on Xterm.js
-
Simple to deploy and easy to use
Demo



Deployment server
Installation dependencies
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 rtty code
git clone --recursive https://github.com/zhaojh329/rtty.git
Compile
cd rtty && mkdir build && cd build cmake .. && make install
Replace the parameters below with your own parameters
sudo rtty -I 'My-device-ID' -h 'your-server' -p 5912 -a -v -d 'My Device Description'
Generate a token
$ rttys token Please set a password:****** Your token is: 34762d07637276694b938d23f10d7164
Use token
$rttys -t 34762d07637276694b938d23f10d7164
Access via browser
Use a web browser to access your server: http://your-server-host:5913
, and click the Connect button.
Or connect the device directly without web login (you need to configure the device whitelist on the server)
“
- http://your-server-host:5913/connect/devid1
- http://your-server-host:5913/connect/devid2
”
从本地传输文件到远程设备
rtty -R
从远程设备传输文件到本地
rtty -S test.txt
传送门
开源地址:
“
- https://github.com/zhaojh329/rtty
”
The above is the detailed content of Linux terminal tools accessible via the web!. For more information, please follow other related articles on the PHP Chinese website!

LinuxandWindowsmanagememorydifferentlyduetotheirdesignphilosophies.Linuxusesovercommittingforbetterperformancebutrisksout-of-memoryerrors,whileWindowsemploysdemand-pagingandmemorycompressionforstabilityandefficiency.Thesedifferencesimpactdevelopmenta

Linux systems rely on firewalls to safeguard against unauthorized network access. These software barriers control network traffic, permitting or blocking data packets based on predefined rules. Operating primarily at the network layer, they manage

Determining if your Linux system is a desktop or laptop is crucial for system optimization. This guide outlines simple commands to identify your system type. The hostnamectl Command: This command provides a concise way to check your system's chassis

Guide to adjust the number of TCP/IP connections for Linux servers Linux systems are often used in servers and network applications. Administrators often encounter the problem that the number of TCP/IP connections reaches the upper limit, resulting in user connection errors. This article will guide you how to improve the maximum number of TCP/IP connections in Linux systems. Understanding TCP/IP connection number TCP/IP (Transmission Control Protocol/Internet Protocol) is the basic communication protocol of the Internet. Each TCP connection requires system resources. When there are too many active connections, the system may reject new connections or slow down. By increasing the maximum number of connections allowed, server performance can be improved and more concurrent users can be handled. Check the current number of Linux connections limits Change settings

SVG (Scalable Vector Graphics) files are ideal for logos and illustrations due to their resizability without quality loss. However, PNG (Portable Network Graphics) format often offers better compatibility with websites and applications. This guide d

LiveCode: A Cross-Platform Development Revolution LiveCode, a programming language debuting in 1993, simplifies app development for everyone. Its high-level, English-like syntax and dynamic typing enable the creation of robust applications with ease

This guide provides a step-by-step process for resetting a malfunctioning USB device via the Linux command line. Troubleshooting unresponsive or disconnected USB drives is simplified using these commands. Step 1: Identifying Your USB Device First, i

Temporarily setting a static IP address on Linux is invaluable for network troubleshooting or specific session configurations. This guide details how to achieve this using command-line tools, noting that the changes are not persistent across reboots


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Atom editor mac version download
The most popular open source editor

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.
