www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

libssh2 vs libssh - A comparison

libssh2 and libssh both implement SSH and provide a library API for apps. Both support SSH, SFTP, auth, channels etc. Both are 25K-30K lines of code.

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

libssh2 1.5.x

libssh 0.6.x

Feature by feature

The same data, in a table:

Licence BSD LGPL
Server-side support no yes
GSSAPI authentication no yes
Eliptic Curve Key Exchange no yes
Eliptic Curve Hostkeys no yes
Automated test cases with nightly tests no yes
Stable API yes mostly
C compatibility C89 C99
strict namespace yes no
man pages for all functions yes no
Doxygen documentation for all functions no yes
Tutorial no yes
SSHv1 support no yes
Build concept Autotools CMake