in reply to Re^7: get ssh key passphrase from agent
in thread get ssh key passphrase from agent

This is weird - are you per chance using the ssh-agent and ssh that comes with Windows or are you using the OpenSSH binaries?

Mixing the two doesn't work and my attempts to mix the two always ended in tears...

Replies are listed 'Best First'.
Re^9: get ssh key passphrase from agent
by ninto1 (Novice) on Aug 31, 2022 at 08:32 UTC

    I am currently using the ones, that come with windows, since the program must not be too hard to set up (it is going to be deployed to non-IT proficient users)

    Is there any way to utilise those, or do I have to install new ones?

    If the installation is unavoidable, could you please link a source for the OpenSSH Agent?

    Thanks in advance, Ninto.

      I'm not at a machine where I can try out Net::SSH2 currently, but in the evening I'll be at a machine where I can install/compile Net::SSH2, then I'll try out the various incantations and how they fail :)

      The main problem is that libssh supports Windows ssh-agent, but only in a recent version from 2021, while Strawberry Perl comes with OpenSSL 1.1.1i 8 Dec 2020.

      One possible solution is to replace the OpenSSL headers and binaries in strawberry-perl-5.32.1.1-64bit-portable\c\include\openssl and strawberry-perl-5.32.1.1-64bit-portable\c\lib\openssl with the more recent versions, and then reinstalling Net::SSH2. But I'm not sure what else breaks that way.