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

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.

  • Comment on Re^9: get ssh key passphrase from agent

Replies are listed 'Best First'.
Re^10: get ssh key passphrase from agent
by Corion (Patriarch) on Sep 16, 2022 at 16:51 UTC

    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.

Re^10: get ssh key passphrase from agent
by Corion (Patriarch) on Aug 31, 2022 at 09:04 UTC

    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 :)