ssh

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SshConnection added in v0.3.0

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

func SetupConnection added in v0.3.0

func SetupConnection(target config.Connection) (SshConnection, error)

func (*SshConnection) Close added in v0.3.0

func (c *SshConnection) Close() error

func (SshConnection) ExecuteSingleCommand added in v0.3.0

func (c SshConnection) ExecuteSingleCommand(cmd string, stdIn io.Reader, stdOut io.Writer, stdErr io.Writer, env map[string]string) error

func (SshConnection) ListenUnix added in v0.3.0

func (c SshConnection) ListenUnix(socketPath string) (net.Listener, error)

Jump to

Keyboard shortcuts

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