property Connected: Boolean;

 

Description

If the Direct property is set to True, Connected determines whether the connection to the specified DestHost is established. Otherwise, it determines whether the port forwarding is running.

If Direct is False, and you are setting Connected to True, the component starts listening SourcePort on the local or remote host (on which the SSH server is located) depending on the Remote property value. If someone is connected to this port, the logical connection to the specified DestHost and DestPort is established.

When setting Connected to False, all open channels are closed and the listener thread is terminated and freed.

 

Note: To establish a connection, it is required to set the Client property with a component that provides secure physical connection to the SSH server. After the connection is established, the information will be transferred through the secure channel.

 

See Also

GatewayPorts

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support