SshSessionImpl.openSessionChannel

SshChannelOpenOperation openSessionChannel( scope const SshChannelOpenOptions options = SshChannelOpenOptions .init)

Opens a session channel for exec, shell, or subsystem requests.

The open itself is asynchronous; poll the returned operation through session pumping. Calling again while an open on the same session is pending is allowed - multiple channels multiplex.

Parameters

optionsFlow-control parameters for the channel.

Returns

A stable open operation; channel yields the channel once

confirmed.