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

Package Information

Additional Downloads

libssh2 Dependencies


GnuPG-2.2.29, libgcrypt-1.9.4, and OpenSSH-8.7p1 (all three required for the testsuite)

User Notes:

Installation of libssh2

Install libssh2 by running the following commands:

patch -Np1 -i ../libssh2-1.9.0-security_fixes-1.patch &&
./configure --prefix=/usr --disable-static            &&

To test the results, issue: make check. One test, using gnupg, may fail for unknown reasons.

Now, as the root user:

make install

Command Explanations

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


Installed Programs: None
Installed Library:
Installed Directories: None

Short Descriptions

contains functions to use the SSH2 protocol

Last updated on