%general-entities; ]> libssh2-&libssh2-version; libssh2 Introduction to libssh2 Libssh2 package is a client-side C library implementing the SSH2 protocol. &lfs120_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &libssh2-md5sum; Download size: &libssh2-size; Estimated disk space required: &libssh2-buildsize; Estimated build time: &libssh2-time; Additional Downloads Required patch: libssh2 Dependencies Optional (can be used instead of the configure script), (can be used instead of OpenSSL), (for some tests), and Docker (for some tests) Installation of libssh2 First, fix a critical security vulnerability in libssh2: patch -Np1 -i ../libssh2-&libssh2-version;-security_fixes-1.patch If you want to test the package, exclude the tests requiring a static library: sed -E '/^DOCKER_TEST/,/^SSHD_TEST/s/test_(auth_keyboard_info.* |hostkey |simple)/$(NOTHING)/' \ -i tests/Makefile.inc && autoreconf -fi Install libssh2 by running the following commands: ./configure --prefix=/usr \ --disable-docker-tests \ --disable-static && make To test the results, issue: make check. Now, as the root user: make install Command Explanations --disable-docker-tests: Disable the tests requiring Docker, which is beyond the scope of BLFS. Remove this switch if you've installed Docker and you wish to run the test suite. Contents Installed Programs Installed Library Installed Directories None libssh2.so None Short Descriptions libssh2.so contains functions to use the SSH2 protocol libssh2.so