libssh2

20 August 2019 Link



Overview

libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.

Installing

Cmake

Install Visual Studio and Cmake to compile libssh2 as a dynamic library as follows:
  1. Download libssh2 tar file from the website.
  2. Extract the contents
  3. Start a command prompt as administrator.
  4. 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 .
    
  5. The library should now be available in the directory bin/src/Debug

Reference