ssh

package
v0.0.0-...-4cb7d27 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfig

func DefaultConfig() (*ssh.ServerConfig, error)

DefaultConfig generates a default ssh.ServerConfig

Types

type Server

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

Server represents a listening ssh server

func (*Server) Serve

func (s *Server) Serve(l net.Listener) error

Serve will accept ssh connections

Jump to

Keyboard shortcuts

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