SubsystemSession
Base class for SSH subsystem implementations
Specifies a timeout to wait for operation to complete
Gets the channel number.
Occurs when session has been disconnected form the server.
Occurs when an error occurred.
public SubsystemSession(Session session, string subsystemName, TimeSpan operationTimeout, Encoding encoding)
Initializes a new instance of the SubsystemSession class.
Connects subsystem on SSH channel.
Disconnects subsystem channel.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Releases unmanaged and - optionally - managed resources
Called when channel is open.
Called when data is received.
Raises the error.
Sends data to the subsystem.