ssh

package
v0.0.332 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 13 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(context.Context) (*ssh.Client, error)
}

func Establish

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

type Endpoint

type Endpoint struct {
	User                string
	PrivateKeyPath      string
	AgentSockPath       string
	Address             string
	TeleportProfileName string
}

Jump to

Keyboard shortcuts

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