ssh

package
v0.0.0-...-ba08b45 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(cfg config.Config) bts.Handler

NewHandler returns a Bubble Tea handler for SSH sessions.

Types

type Server

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

Server wraps a Wish SSH server.

func New

func New(cfg config.Config) (*Server, error)

New creates a new SSH server.

func (*Server) Close

func (s *Server) Close() error

Close stops the SSH server.

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

ListenAndServe starts the SSH server.

Jump to

Keyboard shortcuts

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