ssh

package
v0.0.118 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deferred

type Deferred struct {
	CacheKey string
	Dial     func() (*ssh.Client, error)
}

func Establish

func Establish(ctx context.Context, endpoint Endpoint) (*Deferred, error)

type Endpoint

type Endpoint struct {
	User           string
	PrivateKeyPath string
	Address        string
}

Jump to

Keyboard shortcuts

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