client

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package shellclient provides a client which listens on a local tcp port and for each incoming connection makes a unique connection to a remote shellrelay

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run added in v0.3.0

func Run(ctx context.Context, listen int, remote, token string)

Client runs a listener for local ssh connections on a local tcp port and for each incoming connection makes a unique connection to a remote shellrelay Run one instance per host_id you wish to connect to (i.e. assign a unique local port to each host_id)

Types

type Reply added in v0.3.0

type Reply struct {
	URI string `json:"uri"`
}

Jump to

Keyboard shortcuts

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