sockproxy

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(confs []AgentConfig) (session.Attachable, error)

NewProvider creates a session provider for arbitrary socket forwarding by piggy-backing off the SSH forwarding protocol.

func Run

func Run(l net.Listener, dialer func() (net.Conn, error)) error

Types

type AgentConfig

type AgentConfig struct {
	ID    string
	Paths []string
	SSH   bool
}

Jump to

Keyboard shortcuts

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