service Property
This property holds the channel type that was requested when opening the channel.
Syntax
def get_service(ssh_channel_id: int) -> str: ...
Default Value
""
Remarks
This property holds the channel type that was requested when opening the channel. For instance "session" or "forwarded-tcpip".
The ssh_channel_id parameter specifies the index of the item in the array. The size of the array is controlled by the ssh_channel_count property.
This property is read-only.