libssh2-1.11.1

Introduction to libssh2

Libssh2 package is a client-side C library implementing the SSH2 protocol.

This package is known to build and work properly using an LFS 12.4 platform.

Package Information

  • Download (HTTP): https://www.libssh2.org/download/libssh2-1.11.1.tar.gz

  • Download SHA256 Sum: d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7

  • Download MD5 sum: 38857d10b5c5deb198d6989dacace2e6

  • Download size: 1.0 MB

  • Estimated disk space required: 15 MB (with tests)

  • Estimated build time: 0.2 SBU (with tests)

libssh2 Dependencies

Optional

CMake-4.1.3 (can be used instead of the configure script), libgcrypt-1.11.2 (can be used instead of OpenSSL), OpenSSH-10.2p1 (for some tests), and Docker (for some tests)

Installation of libssh2

Prepare libssh2 by running the following commands:

./configure --prefix=/usr          \
            --disable-docker-tests \
            --disable-static

To Build libssh2, issue:

make

To test the results, issue:

make check

Now Install libssh2, 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: None
Installed Library: libssh2.so
Installed Directories: None

Short Descriptions

libssh2.so

contains functions to use the SSH2 protocol