mirror of
https://github.com/gl-inet/glkvm-cloud.git
synced 2026-09-21 10:03:28 +00:00
d4ed044f3fbc4e24906c6b92e6d2c17f24f177e1
PAM introduced a dependency and need to build with CGO_ENABLED=1. Make sure you have pam-devel and glibc-devel for both 64 and 32 bit architecture. On a 64bit Fedora/Redhat: dnf install glibc-devel.i686 pam-devel.i686 glibc-devel pam-devel
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
./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.
Description
Languages
GO
43.5%
Vue
38.5%
TypeScript
13%
Shell
3.1%
PowerShell
1.1%
Other
0.8%