Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^9: get ssh key passphrase from agent

by ninto1 (Novice)
on Aug 31, 2022 at 08:32 UTC ( [id://11146551]=note: print w/replies, xml ) Need Help??


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

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11146551]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-24 05:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found