Skip to content

Archie1978/regate

Repository files navigation

Golang Remote Manager

Regate is a pure Golang implementation of the Microsoft RDP client and Ssh client.

I use adaptation code of tomatome/grdp ( and Sylvain Peyrefitte for JS ) for RDP and jsterminal dor SSH.

Status

The project is under development and not finished yet. Regate:

  • Interface installation
  • Interface (unfinished)
  • Ssl configuration ( not yet)
  • Authentification interface ( not yet)
  • Security of password ( not yet)
  • Administration account
  • Single binary

RDP:

  • Standard RDP Authentication
  • SSL Authentication
  • NTLMv2 Authentication
  • Windows Clipboard
  • RDP Client(ugly)
  • VNC Client(unfinished)

SSH:

  • Standard SSH by password
  • Standard SSH by key
  • Standard SSH by HSM ( certificate x509 )

Technologies

  • Golang v19.0
  • JsTerminal
  • WebSocket

Build ( step 1)

  1. Build vue code
  2. cd www/regate
  3. yarn install
  4. yarn run build
  5. cd ../..

Build Standalone ( step 2)

  1. cd cmd/regate-standalone-user
  2. go build -a

Build Daemon mode bastion/mutiuser ( step 2, Not Yet )

  1. cd cmd/regate-daemon/
  2. go build -a

Release

Version: 0.3.0 Version init

Use Case

Browser:

  • firefox 119.0 (64 bits)
  • Chromium 120.0 ( 64 bits)

OS:

  • Linux Ubuntu 22.04
  • Linux Ubuntu 18.04

file "configuration.json"

authentification flat ( standalone: default) When you started application, Regate starts the default WEB browser.

{ "Listen": 42O3, "Authentification":"flat:///", "KeyCrypt": "L+wz1QjOUhTXDvflXXOFfw==" }

authentification unsafe Application ( NOT RECOMMENDED )

{ "Listen": 42O3, "Authentification":"none:///", "KeyCrypt": "L+wz1QjOUhTXDvflXXOFfw==" } Start regate with cmd/regate-standalone-user/regate-standalone-user unsafe

Plan dev Next

  • Interface installation ( standalone )
  • Secure SSH/RDP for recogned server ( FingerPrint / SSH )
  • Use Regate standalone by user linux/Windows
  • One binary HTML is into binary
  • Use Regate multiuser (bastion) connexion LDAP