/rttys

Access your device's terminal from anywhere via the web.

Primary LanguageGoMIT LicenseMIT

rttys(中文)

license PRs Welcome Issue Welcome Release Version Build Status

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-dev string
        address to listen device (default ":5912")
  -addr-user string
        address to listen user (default ":5913")
  -base-url string
        base url to serve on (default "/")
  -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

./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.