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)
set_target_properties(ssh
PROPERTIES
IMPORTED_LOCATION "${LIBSSH_LIBRARIES}"
INTERFACE_INCLUDE_DIRECTORIES "${LIBSSH_INCLUDE_DIR}")
endif()
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!
ChangeLog
- Fixed libssh-config.cmake
- Fixed issues with rsa algorithm negotiation (T191)
- Fixed detection of OpenSSL ed25519 support (T197)