ssh

package
v0.0.362 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 18 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 DialFunc added in v0.0.339

type DialFunc func(context.Context, string) (net.Conn, error)

type Endpoint

type Endpoint struct {
	User           string
	PrivateKeyPath string
	AgentSockPath  string
	Address        string
	TeleportProxy  *TeleportProxy
}

type TeleportProxy added in v0.0.339

type TeleportProxy struct {
	ProfileName     string
	Host            string
	TbotIdentityDir string
	ProxyAddress    string
	Cluster         string
}

Jump to

Keyboard shortcuts

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