package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev

# Functions

ContextFromNewChannel extracts any tracing data provided via an Envelope in the ssh.NewChannel ExtraData.
ContextFromRequest extracts any tracing data provided via an Envelope in the ssh.Request payload.
Dial starts a client connection to the given SSH server.
NewClient creates a new Client.
NewClientConn creates a new SSH client connection that is passed tracing context so that spans may be correlated properly over the ssh connection.
NewClientConnWithDeadline establishes new client connection with specified deadline.
NewTraceChannel creates a new Channel.
NewTraceNewChannel wraps the ssh.NewChannel in a new NewChannel The provided ssh.NewChannel will have any Envelope provided via ExtraData extracted so that the original payload can be provided to callers of NewCh.ExtraData.

# Constants

EnvsRequest sets multiple environment variables that will be applied to any command executed by Shell or Run.

# Structs

Channel is a wrapper around ssh.Channel that adds tracing support.
Client is a wrapper around ssh.Client that adds tracing support.
Envelope wraps the payload of all ssh messages with tracing context.
EnvsReq contains json marshaled key:value pairs sent as the payload for an [EnvsRequest].
FileTransferDecisionReq contains parameters used to approve or deny an active file transfer request on the SSH server.
FileTransferReq contains parameters used to create a file transfer request to be stored in the SSH server.
NewChannel is a wrapper around ssh.NewChannel that allows an Envelope to be provided to new channels.
Session is a wrapper around ssh.Session that adds tracing support.

# Type aliases

ChannelRequestCallback allows the handling of channel requests to be customized.