Daily Archives: November 7, 2019

1 post


The libssh team is proud to announce the second bugfix release of libssh as version 0.9.2. It fixes bugs we discovered since the last release. Thanks to all contributors!

CMake in the meantime has a config mode for find_package(libssh). For this cmake creates the libssh-config.cmake if you correctly setup your project. We are doing that now. But this breaks find_package(libssh) as it was manually created before and offered a variable LIBSSH_LIBRARIES. To allow linking with libssh 0.9.2 and older version you can use the following code from Harald Sitter:

find_package(libssh REQUIRED)
if (NOT TARGET ssh)
add_library(ssh SHARED IMPORTED)

target_link_libraries(mylib ssh)

If you are new to libssh you should read our tutorial how to get started. Please join our mailing list or visit our IRC channel if you have questions.

You can download libssh here.

Thanks you very much to all contributors!


  • Fixed libssh-config.cmake
  • Fixed issues with rsa algorithm negotiation (T191)
  • Fixed detection of OpenSSL ed25519 support (T197)