IPWorks SSH 2020 Python Edition

Questions / Feedback?

on_ssh_channel_opened Event

Fired when a channel is successfully opened.

Syntax

class SSHReverseTunnelSSHChannelOpenedEventParams(object):
  @property
  def channel_id() -> str: ...

# In class SSHReverseTunnel:
@property
def on_ssh_channel_opened() -> Callable[[SSHReverseTunnelSSHChannelOpenedEventParams], None]: ...
@on_ssh_channel_opened.setter
def on_ssh_channel_opened(event_hook: Callable[[SSHReverseTunnelSSHChannelOpenedEventParams], None]) -> None: ...

Remarks

The on_ssh_channel_opened event is fired when a channel is successfully opened on an SSH connection.

Note: Processing long-running requests, including sending channel data, inside this event may cause the underlying transport to stop processing SSH data until the event returns. In order to prevent this from happening, all requests should be processed asynchronously in a separate thread outside of this event.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 Python Edition - Version 20.0 [Build 8501]