libssh2下载:https://www.libssh2.org/https://github.com/libssh2/libssh2编译:需要openssl以及zlib修改libssh下的win32目录下config.mk,修改openssl与zlib路径在source根目录下nmake /f NMakefile或vs2010打开win32\libssh2.dsp,在项目属性中配置openssl与zlib路径