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

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

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

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

Replies are listed 'Best First'.
Re^7: get ssh key passphrase from agent
by choroba (Cardinal) on Aug 31, 2022 at 07:43 UTC
    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]

      Do you think the OS makes a difference? Because I need to develop it for windows.

      Maybe the SSH agent is different?