I have been using the SSH forwarding tunnel API from the SSH total pack beta build for a few days now and have a question. Is there a way to check wether you are still connected (sudden internet connection failure on the other side) and even better: are the tunnels still set to forwarding. I have disabled TCPkeepalive on the server side, because the clients are on a crappy 3G connection and they tend to loose connection without telling the server. The client then has a reconnect timeout and logs back in after a certain amount of time, but the port-forwarding have to be released by then, so the client can request them again. I have noticed that it can occur that the client is logged in, but the server does not forward the ports. The re-login timeout is however longer than the tcpkeepalive on the server side so it should rrelease the ports. So my questions are:
- Is there a way to check wheter the client is still connected and logged in. So KeepAlive with feedback.
- Is there a way to check wheter the server is still forwarding a certain port?
- Am I overlooking a dead simple solution?
Lars van Ruiten