XTerminal is a remote web shell tool for multi terminal devices. With it, you can access the Shell in any of your devices that can access the Internet via the browser on any device that can access the Internet. XTerminal is based on evmongoose implementation, It consists of two parts, server and client.
username: xterminal
password: xterminal
macaddr: 66:09:80:01:22:15
- Based on Web, easy to use
- Support for connecting multiple terminals at the same time
- Support uploading files to terminal devices
-
mosquitto
sudo apt install mosquitto
git clone https://github.com/zhaojh329/xterminal.git
cd xterminal
git co c
cmake . && sudo make install
cd ubuntu
sudo make install
sudo /etc/init.d/xterminal start
git clone https://github.com/zhaojh329/evmongoose.git
cp -r evmongoose/openwrt openwrt_dir/package/evmongoose
git clone https://github.com/zhaojh329/xterminal.git
cd xterminal && git co c
cp -r openwrt openwrt_dir/package/xterminal-c
cd openwrt_dir
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
Utilities --->
Terminal --->
<*> xterminal-c
# to upload file to device, must be select ssl
Libraries --->
Networking --->
*- evmongoose
Configuration --->
Selected SSL library (OpenSSL) --->
make package/xterminal/compile V=s
config base
option mqtt_hostname 'jianhuizhao.f3322.net'
option mqtt_port '8883'
https://server:8443/list
In the browser, enter the server address(https://server:8443), the default port number 8443, and then in the page appears to enter the the MAC address of then device to be connected to, MAC address format can be: xx:xx:xx:xx:xx:xx, xx-xx-xx-xx-xx-xx, xxxxxxxxxxxxx
Execute the exit command in the shell environment
Feel free to create issues or pull-requests if you have any problems.
Please read contributing.md before pushing any changes.