mirror of
https://github.com/netfun2000/rttys_zhaojh329.git
synced 2026-02-27 09:53:24 +08:00
50fe261d01172bed3a0f36f68ee92b637144f296
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
rttys(中文)
This is the server program of rtty
Usage
download the pre-built release binary from Release page according to your os and arch or compile it by yourself.
go get -u github.com/zhaojh329/rttys
See Supported Command Line Parameters
./rttys -h
Usage of ./rttys:
-addr string
address to listen (default ":5912")
-conf string
config file to load (default "./rttys.conf")
-gen-token
generate token
-ssl-cert string
certFile Path (default "./rttys.crt")
-ssl-key string
keyFile Path (default "./rttys.key")
-token string
token to use
run as root (use system credentials)
sudo ./rttys
run as normal user (define username and password in config file)
./rttys
View logs when running in the background
cat /var/log/rttys.log
Authorization
./rttys -gen-token
Please set a password:******
Your token is: 34762d07637276694b938d23f10d7164
./rttys -token 34762d07637276694b938d23f10d7164
Contributing
If you would like to help making rttys better, see the CONTRIBUTING.md file.
Languages
GO
49.1%
Vue
47.9%
Shell
2.6%
Dockerfile
0.4%