sshd

package
v0.0.0-...-98aac20 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SshServer

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

func New

func New(config *config.SshConfig, proxy *proxy.Proxy, service *service.Service) *SshServer

func (*SshServer) GetReservedConnectionFromSshContext

func (s *SshServer) GetReservedConnectionFromSshContext(ctx ssh.Context) (*db.Connection, error)

func (*SshServer) GetServerAddr

func (s *SshServer) GetServerAddr() string

func (*SshServer) Shutdown

func (s *SshServer) Shutdown(_ context.Context)

func (*SshServer) Start

func (s *SshServer) Start()

Jump to

Keyboard shortcuts

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