sshd

package
v0.0.0-...-66218a2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChannelTCPIPForward       = "tcpip-forward"
	ChannelCancelTCPIPForward = "cancel-tcpip-forward"
	ChannelForwardedTCPIP     = "forwarded-tcpip"
)

Variables

This section is empty.

Functions

func ParsePrivateKeyFromString

func ParsePrivateKeyFromString(content string) (signer ssh.Signer, err error)

func ParsePrivateKeyWithPassphrase

func ParsePrivateKeyWithPassphrase(privateKey, Passphrase string) (signer ssh.Signer, err error)

Types

type Server

type Server struct {
	Srv     *ssh.Server
	Handler *handler.Server
}

func NewSSHServer

func NewSSHServer(jmsService *service.JMService) *Server

func (*Server) Start

func (s *Server) Start()

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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