libssh2-1.10.0

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-11.2 platform.

Package Information

libssh2 Dependencies

Optional

GnuPG-2.3.7, libgcrypt-1.10.1, and OpenSSH-9.0p1 (all three are required for the testsuite)

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libssh2

Installation of libssh2

Install libssh2 by running the following commands:

./configure --prefix=/usr --disable-static &&
make

To test the results, issue: make check. One test named ssh2.sh is known to fail with recent OpenSSH releases.

Now, as the root user:

make install

Command Explanations

--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