ssh

package
v0.0.0-...-6c5db76 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server serves SSH connections from attackers

func New

func New(serverVersion string, port int, keyPaths []string, provider hostprovider.SSH, database *db.DB) *Server

New creates a new SSH server

func (*Server) Start

func (s *Server) Start() error

Start starts the SSH server

func (*Server) Stop

func (s *Server) Stop() error

Stop stops the SSH server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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