Documentation ¶
Overview ¶
Package forward implements forwarding SSH sessions to upstream servers.
Index ¶
- func Channels(ctx context.Context, target *ssh.Client, channels <-chan ssh.NewChannel) error
- func EnvironmentFromContext(ctx context.Context) map[string]string
- func NewContextWithEnvironment(ctx context.Context, toAdd map[string]string) context.Context
- func Requests(ctx context.Context, target *ssh.Client, requests <-chan *ssh.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvironmentFromContext ¶ added in v0.2.0
EnvironmentFromContext returns the environment from the context.
func NewContextWithEnvironment ¶ added in v0.2.0
NewContextWithEnvironment returns a contet with the merged environment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.