# Functions
DecodeChunk will decode any known SSH Chunk type.
NewBreakRequest creates a BreakRequest chunk.
NewCancelTCPIPForwardRequest creates a CancelTCPIPForwardRequest chunk.
NewDataChunk constructs a DataChunk.
NewDirectTCPIPRequest creates a DirectTCPIPRequest chunk.
NewEnvRequest creates an EnvRequest chunk.
NewExecRequest creates an ExecRequest chunk.
NewExitSignalRequest creates an ExitSignalRequest chunk.
NewExitSignalRequest creates an ExitSignalRequest chunk.
NewForwardedTCPIPRequest creates an ForwardedTCPIPRequest chunk.
NewPtyRequest creates an PtyRequest chunk.
NewSessionRequest creates an SessionRequest chunk.
NewShellRequest creates an ShellRequest chunk.
NewSignalRequest creates an SignalRequest chunk.
NewSubsystemRequest creates an SubsystemRequest chunk.
NewTCPIPForwardRequest creates an TCPIPForwardRequest chunk.
NewUnknownRequest creates an UnknownRequest chunk.
NewWindowChangeRequest creates a WindowChangeRequest chunk.
NewX11ForwardingRequest creates an X11ForwardingRequest chunk.
NewX11Request creates an X11Request chunk.
NewXonXoffRequest creates an XonXoffRequest chunk.
ValidExecApplicationProgram checks if a given ExecApplicationProgram is valid.
ValidSessionProgram checks if a given SessionProgram is valid.
# Constants
Chunk types.
No description provided by the author
Chunk types.
No description provided by the author
Chunk types.
Chunk types.
No description provided by the author
Chunk types.
No description provided by the author
SessionPrograms If the channel type is not of type session, then NotApplicable is expected If the session program is not exec, shell, or subsystem, then None is used.
ExecApplicationPrograms.
Chunk types.
No description provided by the author
Chunk types.
No description provided by the author
Chunk types.
No description provided by the author
Valid file transfer directions.
Valid file transfer directions.
Valid file transfer directions.
Chunk types.
No description provided by the author
MaxPacketSize is used by the DataWriter to determine if SSH data should be broken into multiple chunks.
SessionPrograms If the channel type is not of type session, then NotApplicable is expected If the session program is not exec, shell, or subsystem, then None is used.
SessionPrograms If the channel type is not of type session, then NotApplicable is expected If the session program is not exec, shell, or subsystem, then None is used.
Protocol is used to identify chunks that are recorded from SSH.
Chunk types.
No description provided by the author
ExecApplicationPrograms.
ExecApplicationPrograms.
Chunk types.
No description provided by the author
SessionPrograms If the channel type is not of type session, then NotApplicable is expected If the session program is not exec, shell, or subsystem, then None is used.
Chunk types.
No description provided by the author
Chunk types.
No description provided by the author
SessionPrograms If the channel type is not of type session, then NotApplicable is expected If the session program is not exec, shell, or subsystem, then None is used.
Chunk types.
No description provided by the author
Chunk types.
No description provided by the author
ExecApplicationPrograms.
Chunk types.
Chunk types.
No description provided by the author
Chunk types.
No description provided by the author
Chunk types.
No description provided by the author
Chunk types.
No description provided by the author
# Structs
BreakRequest is a chunk to contain data for an SSH Break request.
CancelTCPIPForwardRequest is a chunk to contain data for an SSH Cancel TCIPIP Forward request.
ChannelSummary encapsulates data for a channel SessionProgram can only be one of the following: exec, shell, or subsystem SubsystemName is only populated if SessionProgram is subsystem ExecApplicationProgram is only populated if Channel Program is subsystem, and can be one of the following:
scp, rsync, or unknown
OpenFailure will be nil if the Channel was successfully opened.
DataChunk contains the raw byte data from an SSH session.
DirectTCPIPRequest is a chunk to contain data for an SSH Direct TCPIP request.
EnvRequest is a chunk to contain data for an SSH Env request.
ExecRequest is a chunk to contain data for an SSH Exec request.
ExitSignalRequest is a chunk to contain data for an SSH Exit Signal request.
ExitStatusRequest is a chunk to contain data for an SSH Exit Status request.
ForwardedTCPIPRequest is a chunk to contain data for an SSH Forwarded TCPIP request.
PtyPRequest is a chunk to contain data for an SSH Pty request.
SessionRequest is a chunk to contain data for an SSH Session request.
ShellRequest is a chunk to contain data for an SSH Shell request.
SignalRequest is a chunk to contain data for an SSH Signal request.
SubsystemRequest is a chunk to contain data for an SSH Subsystem request.
TCPIPForwardRequest is a chunk to contain data for an SSH TCPIP Forward request.
UnknownRequest is a chunk to contain data for any unrecognized SSH request.
WindowChangeRequest is a chunk to contain data for an SSH Window Change request.
X11ForwardingRequest is a chunk to contain data for an SSH X11 Forwarding request.
X11Request is a chunk to contain data for an SSH X11 request.
XonXoffRequest is a chunk to contain data for an SSH Xon Xoff request.
# Type aliases
ExecApplicationProgram identifies what program was run with exec Currently, only Scp and Rsync are recognized to identify file transfers.
FileTransferDirection indicates the direction of a file transfer.
OpenChannelError provides details if a channel was rejected.
SessionProgram identifies the program running on this channel as outlined in https://www.rfc-editor.org/rfc/rfc4254.html#section-6.5 :
Once the session has been set up, a program is started at the remote end.