property Connected: Boolean;
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.