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

Re^8: get ssh key passphrase from agent

by Corion (Patriarch)
on Aug 31, 2022 at 08:21 UTC ( [id://11146549]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-25 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found