sshutil

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MockSshKey = [...]byte{} /* 2610 elements not displayed */

MockSshKey is a key only used for create a mock ssh server config.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	Conn   net.Conn
	Config *ssh.ServerConfig
	Client *ssh.Client
}

Proxy is the responsible to communicate a client with a ssh server.

func (*Proxy) Serve

func (proxy *Proxy) Serve()

Serve starts a communication loop between client and server.

Jump to

Keyboard shortcuts

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