dehub

command module
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: MIT Imports: 23 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Overview

A lightweight and secure debugging lib for remote process. Especially useful for debugging a service that you can deploy code to but you don't have direct access to, such as as k8s pod, github workflow, etc.

Features:

  • Execute and attach to random CLI command on remote machine.
  • Forward socks5 proxy on remote.
  • Mount a remote directory to local with NFS.
  • Uses the golang.org/x/crypt/ssh to establish secure connections.
  • Hub server can be an endpoint of a http server.
  • Servant can run behind a firewall.
flowchart LR
    M[Master Client]
    S[Servant Client]

    subgraph Cluster
        H1[Hub Server 01]
        H2[Hub Server 02]
    end

    S ---> H2
    M --> H1
    H1 -- relay --> H2

Because Master and Servant uses public key to communicate, the Hub server can be a untrusted server.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
lib

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址