i have an application written in C# that open SSHTunnel,
asked Nov 04 '12 at 15:09
1) Given that it's a background thread that is waiting for incoming connections, your application's foreground thread is free to make a connection. Simply have your foreground thread connect to localhost:<port> where <port> is the listen port (i.e. the port number passed to BeginAccepting).
2) No, because the client-side (Chilkat) is not the side of the connection that disconnects after some amount of inactivity. It is the SSH server-side that makes this decision, and there is no way to modify this aspect of the server's behavior.
answered Nov 05 '12 at 08:31