Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: get ssh key passphrase from agent

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


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

I still get the same error, even if I change it.

Could you please elaborate furhter, what you did to make it work?

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

Replies are listed 'Best First'.
Re^5: get ssh key passphrase from agent
by choroba (Cardinal) on Aug 31, 2022 at 07:32 UTC
    I replaced
    my $agent = Net::SSH::Perl::Agent->new(1); # ~
    with
    my $agent = Net::SSH::Perl::Agent->new(2); # ~

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

      Yes. I did that too, but it still gives me the error.

      What OS are you on, and how do you execute the script?

        I'm on Linux and after saving the script to 1.pl, I run ./1.pl.

        map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

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

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

    No recent polls found