libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.
Install Visual Studio and Cmake to compile libssh2 as a dynamic library as follows:
- Download libssh2 tar file from the website.
- Extract the contents
- Start a command prompt as administrator.
- Go to the extracted libssh2 directory and run the following commands:
> mkdir bin
> cd bin
> cmake -DBUILD_SHARED_LIBS=ON DENABLE_ZLIB_COMPRESSION=ON ..
> cmake --build .
- The library should now be available in the directory bin/src/Debug