SshSession.openSessionChannel

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

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

The open confirmation itself is asynchronous; poll the returned operation through session pumping. Calling this again while an open is pending does not cancel or duplicate it.

Parameters

optionsFlow-control parameters for the channel; a default constructed value selects the recommended defaults.

Returns

A stable open operation; channel yields the channel once

confirmed.