On Thu, Jul 14, 2011 at 03:17:43PM +0300, Popescu Claudiu wrote: > Is there a not too complicated way to check if a ssh session is still active?
You can check whether the connection is up or not by calling poll() or select() on the socket and looking for an error. That should cover most situations when a session has unknowingly been closed. >>> Dan _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel