libssh2-1.11.1

Introduction to libssh2

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

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

libssh2 Dependencies

Optional

CMake-3.31.0 (can be used instead of the configure script), libgcrypt-1.11.0 (can be used instead of OpenSSL), OpenSSH-9.9p1 (for some tests), and Docker (for some tests)

Installation of libssh2

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.

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: None
Installed Library: libssh2.so
Installed Directories: None

Short Descriptions

libssh2.so

contains functions to use the SSH2 protocol