sshd

package
v0.0.0-...-503ec33 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

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