As always, install the latest versions of the software listed in the dependencies. Its best to compile them yourself. The linux distributions sometimes patch the heck out of things so they won't work with other vanilla code, from outside their distro.
This module requires these other modules and libraries:
libSSH2 (http://www.libssh2.org; tested with 0.11 and 0.12)
+
OpenSSL (http://www.openssl.org)
+
zlib (optional; http://www.zlib.net)