ssh

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bicopy added in v0.15.0

func Bicopy(ctx context.Context, c1, c2 io.ReadWriteCloser)

Bicopy copies all of the data between the two connections and will close them after one or both of them are done writing. If the context is canceled, both of the connections will be closed.

func OsSignalFrom added in v0.53.0

func OsSignalFrom(sig ssh.Signal) os.Signal

func SetPtySize added in v0.53.0

func SetPtySize(f interface{}, win ssh.Window)

func Start

func Start(cmd interface{}) (*os.File, error)

Types

type Server added in v0.10.0

type Server struct {
	WorkspaceDir        string
	DefaultWorkspaceDir string
}

func (*Server) Start added in v0.10.0

func (s *Server) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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