/ | Mailing list | Docs | Examples | GitHub

libssh2 vs libssh - A comparison

libssh2 and libssh both provide an API to develop SSH based applications.

Here's an attempt to put some light on the differences between them.

libssh2 1.11.1

libssh 0.9.x

Feature by feature

The same data, in a table:

item libssh2 libssh
Licence BSD LGPL
Server-side support no yes
GSSAPI authentication no yes
Elliptic Curve Key Exchange yes yes
Elliptic Curve Hostkeys yes yes
Certificate support no yes
FIPS 140-2 compliant no yes
Continuous Integration Just compile tests Fully featured testsuite including OpenSSH and dropbear client/server testing
Stable API yes mostly
C compatibility C89 C99
strict namespace yes yes
man pages for all functions yes no
Doxygen documentation for all functions no yes
Tutorial no yes
Build concept Autotools and CMake CMake