ParallelSSH/ssh2-python

Update libssh2 version to 1.11.0

ionutbaltariu opened this issue · 8 comments

libssh2 has to be updated to the latest version in order to fix a bug mentioned in #178

The fix on the libssh2 side was mentioned here: libssh2/libssh2#764

BONUS:
Add steps in documentation to do this update locally, as in:

  • git clone
  • update version of libssh2
  • install ssh2-python with the new libssh2

Pending release of new libssh2 version.

1.10.0 is still the latest version, and that is what is in the repository. This project tracks official releases, not master branch of libssh2.

I understand. However, could you provide some steps to manually update the libssh2 version for the project?
I imagine that I could clone the master branch of libssh2 and just do some setup steps to reinstall ssh2-python.

Sure, building with system/self provided libssh2 is documented here.

I have tried to use the documented instructions in order to install ssh2-python with a self-built libssh2 from the latest version on their github repository.

However, it just seems it is not a really trivial task. Does installing under Windows also require installing OpenSSL? While trying to install I get the following error:

LINK : fatal error LNK1181: cannot open input file 'libcrypto64MD.lib'

This is the way I've built libssh2 on Windows:

mkdir dll
cd dll
cmake -DCRYPTO_BACKEND=WinCNG -DBUILD_SHARED_LIBS=ON ..
cmake --build . --target install

Then I've used python .\setup.py build_ext -I C:\libssh2\dll\src\ -L C:\libssh2\dll\src\Debug (Debug is where I found the dll/lib files). I'm really feeling like doing things without actually knowing what they trully mean. Could you help me in this issue?

@pkittenis as an update, libssh2 release is slated for May 30 2023 according to this thread.

@pkittenis libssh2 1.11 was released today. Could you also update ssh2-python?

Any updates as to when a fix for ssh2-python will be ready?