shellhost

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

README

shellhost

Testing with docker

docker pull rastasheep/ubuntu-sshd

Documentation

Overview

Package shellhost manages connections between

a shellrelay and a host machine accepting login shell

connections, such as sshd. Such protocols are server speak first so the relay alerts shellhost when a new client has connected to the relay. Shellhost then makes a new dediated connection to the login shell port, and the relay.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Host

func Host(ctx context.Context, local, remote, token string)

Host connects to remote relay, and makes a new connection to local (localhost:{port}) every time it is alerted to a new connection by a shellbar.ConnectionAction

Types

This section is empty.

Jump to

Keyboard shortcuts

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