ChannelSession
Implements Session SSH channel.
public ChannelSession(ISession session, uint localChannelNumber, uint localWindowSize, uint localPacketSize)
Initializes a new ChannelSession instance.
Opens the channel.
Sends the exec request.
Sends the channel open message.
Sends eow@openssh.com request.
Sends the environment variable request.
Sends the exec request.
public bool SendExitSignalRequest(string signalName, bool coreDumped, string errorMessage, string language)
Sends the exit signal request.
Sends the exit status request.
Sends keepalive@openssh.com request.
Sends the local flow request.
public bool SendPseudoTerminalRequest(string environmentVariable, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModeValues)
Sends the pseudo terminal request.
Sends the shell request.
Sends the signal request.
Sends the subsystem request.
Sends the window change request.
public bool SendX11ForwardingRequest(bool isSingleConnection, string protocol, byte[] cookie, uint screenNumber)
Sends the X11 forwarding request.