SSHRTChannel Type

A currently open SSH channel.

Remarks

This type holds details about currently open channels. Each time a client connects to the reverse tunnel a new channel of this type is added to Channels.

Fields

BytesSent
Integer

The number of bytes actually sent after a sending channel data.

ChannelId
String

An id generated by the component to identify the current SSH channel. This id is unique to this channel.

ConnectedAddress
String

This field holds the remote address to which the connection was established. This should match the Address parameter passed to the RequestForwarding method.

ConnectedPort
Integer

This field holds the remote port to which the connection was established. This should match the Port parameter passed to the RequestForwarding method.

DataToSend
String

A string of data to be sent to the remote host. Write-only property.

Assigning a string to the DataToSend makes the component send the string to the remote host.

DataToSendB
Byte[]

A string of data to be sent to the remote host. Write-only property.

Assigning a string to the DataToSend makes the component send the string to the remote host.

ForwardingHost
String

Holds the host to which incoming traffic is forwarded. This is only applicable if local forwarding was requested when calling RequestForwarding.

ForwardingPort
Integer

Holds the port to which incoming traffic is forwarded. This is only applicable if local forwarding was requested when calling RequestForwarding.

OriginAddress
String

This field holds the address of the client which originated the connection to the reverse tunnel on SSHHost.

OriginPort
Integer

This field holds the port used by the client which originated the connection to the reverse tunnel on SSHHost.

Service
String

This field holds the channel type that was requested when opening the channel. For instance "session" or "forwarded-tcpip".

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