Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 2 KB

README.md

File metadata and controls

66 lines (49 loc) · 2 KB

rttys(中文)

license PRs Welcome Issue Welcome Release Version Build Status

The server side of rtty

Usage

download the precompiled programs 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.