ssh

package
v0.0.0-...-368a55c Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Address

func Address(cfg *config.SSHConfig) string

func Dial

func Dial(cfg *config.SSHConfig) (*ssh.Client, error)

func ExpandPath

func ExpandPath(path string) string

func NewClientConfig

func NewClientConfig(cfg *config.SSHConfig) (*ssh.ClientConfig, error)

Types

type RemoteExecutor

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

func NewRemoteExecutor

func NewRemoteExecutor(client *ssh.Client) *RemoteExecutor

func (*RemoteExecutor) Close

func (r *RemoteExecutor) Close() error

func (*RemoteExecutor) Run

func (r *RemoteExecutor) Run(args ...string) (string, error)

Jump to

Keyboard shortcuts

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