How can I detect from the client that jsch session has been disconnected by the server?
In other words, how can I tell if the person using my web application is on the server it resides on? If I remember correctly, PHPMyAdmin does something like this for security reasons.