I've been using your ssh library for a while and I think it is great, one problem I've had is that some operations could hang forever. I've tracked it down to that the socket timeout is always set to 0, meaning no timeout, wait forever. (http://java.sun.com/javase/6/docs/api/java/net/Socket.html#setSoTimeout(int)
) I've created a patch where I've added the extra argument to the connect method in the Connection class to be able to set it at connection time.
patch to set the soTimeout