libssh 0.6.1

We are happy to announce the first bugfix version of libssh 0.6. This version also provides some new functions and uses the openssh known_hosts heuristic to negotiate the cipher for key exchange.

Thanks to all contributors!

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 0.6.0 here. For Windows we also provide a zip file and an installer built on Windows 8.1 or you can use the MSVC and MinGW binaries from the KDE Windows project here.


  • Added support for libgcrypt 1.6.
  • Added ssh_channel_accept_forward().
  • Added known_hosts heuristic during connection (#138).
  • Added getters for session cipher names.
  • Fixed decrypt of zero length buffer.
  • Fixed padding in RSA signature blobs.
  • Fixed DSA signature extraction.
  • Fixed some memory leaks.
  • Fixed read of non-connected socket.
  • Fixed thread dectection.