Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^7: get ssh key passphrase from agent

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


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

This is very helpful, since I don't have this env. Variable for some reason.

I think a cause for this could be that I use Windows, since I need to develop it for windows.

Do you know, how I could make it compatible nevertheless?

Edit: I noticed that it may come across sarcastic, but it is actually helpful, because it made me find out I don't have it

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

Replies are listed 'Best First'.
Re^8: get ssh key passphrase from agent
by Corion (Patriarch) on Aug 31, 2022 at 08:21 UTC

    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...

      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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found