sshproxy

package
v0.0.0-...-39255db Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHProxy

type SSHProxy struct {
	ssh.Server
	// contains filtered or unexported fields
}

func New

func New(version, localAddress, hostname, hostKeyDir string, shutdownC chan struct{}, idleTimeout, maxTimeout time.Duration) (*SSHProxy, error)

New creates a new SSHProxy and configures its host keys and authentication by the data provided

func (*SSHProxy) Errors

func (s *SSHProxy) Errors() <-chan error

Errors return errors from the ssh proxy activities

func (*SSHProxy) Start

func (s *SSHProxy) Start() error

Start the SSH proxy listener to start handling SSH connections from clients

Jump to

Keyboard shortcuts

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