Discuss this help topic in SecureBlackbox Forum
This property specifies whether SSH connection must be closed if the number of open tunnels goes to zero.
Declaration
Description
If this property is set to True, the SSH connection will be closed
immediately after the last logical tunneled connection is closed. This may be reasonable if
there are no more tunneled connections expected - for example, if only shell or command is
tunneled.
Set this property to False if you need to keep
TElSSHServer or TElSSHClient alive after the last tunneled
connection is closed.
it is a good idea to set this property to False if local (or
remote) port is forwarded, as there may be new connections accepted on this port, even if
there are no active tunneled connections at the moment.
It is recommended to set CloseIfNoActiveTunnels to True when
TElShellSSHTunnel,
TElCommandSSHTunnel, or
TElSubsystemSSHTunnel is used.
And to False when
TElLocalPortForwardSSHTunnel,
TElRemotePortForwardSSHTunnel, or
TElX11ForwardSSHTunnel is used.