xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
Commit 04f8223c0c8fc585d3c7882c17ba4ecb7c22d0b5

Corrected wrong help for ssh 2fa
Author: Catalin(ux) M. BOIE
Author date (UTC): 2018-08-29 21:36
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2018-08-29 21:36
Parent(s): 89e6848701e4c27d0f089393c7591302c45c57d4
Signing key:
Tree: c1c99d65d58c9abca9355cc4fe4dee60facae108
File Lines added Lines deleted
inc/ssh.inc.php 1 1
File inc/ssh.inc.php changed (mode: 100644) (index b37fced..67708ab)
... ... function rg_ssh_totp($db, $ip, $uid, $paras)
306 306 fwrite(STDERR, "\n" fwrite(STDERR, "\n"
307 307 . 'Posible TOTP commands:' . "\n" . 'Posible TOTP commands:' . "\n"
308 308 . ' enroll <token> - adds a new device in the system' . "\n" . ' enroll <token> - adds a new device in the system' . "\n"
309 . ' val [X(w|d|h|m|s)] <token> - adds your IP to the allow list for X time' . "\n"
309 . ' val <token> [X(w|d|h|m|s)] - adds your IP to the allow list for X time' . "\n"
310 310 . ' the default is 1 hour; X is a number; defauls is \'minutes\';' . "\n" . ' the default is 1 hour; X is a number; defauls is \'minutes\';' . "\n"
311 311 . ' w=weeks, d=days, h=hours, m=minutes, and s=seconds' . "\n" . ' w=weeks, d=days, h=hours, m=minutes, and s=seconds' . "\n"
312 312 . ' list-val - lists the already validated IPs' . "\n" . ' list-val - lists the already validated IPs' . "\n"
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master