Back to FlowSsh Documentation

ClientSessionChannel - ShellRequest

[C]

__cdecl FlowSshC_ClientSessionChannel_ShellRequest(
  FlowSshC_ClientSessionChannel* channel,
  FlowSshC_ProgressHandler handler,
  void* handlerData);

[C++]

[ClientSessionChannel] void ShellRequest(RefPtr<ProgressHandler> const& progress);

[C#]

[ClientSessionChannel] public void ShellRequest(ProgressHandler progress);

Parameters

  • [C] channel: FlowSshC_ClientSessionChannel pointer.
  • [C] handler: A ProgressHandler function to be used with the request. Optional.
  • [C] handlerData: An application-defined value to be passed to the handler. Optional.
     
  • [Cpp/Net] progress: A ProgressHandler object to be used with the request. Optional.

Remarks

Requests an interactive shell. After you open and initialize a session-channel you call either:

  • ExecRequest to execute a command or application remotely, or
  • ShellRequest to request an interactive shell.