I will take a guess on this and say that Net::SSH::Perl wants to load a public key at that point (maybe it wants both keys?) and is complaining because you gave it a private key. I base this on the error originating from Net::SSH::Perl::Auth::PublicKey, although I have not used this package myself, so I may be completely wrong.
Try setting identity_files => ['client_key', 'client_key.pub'] and see if that helps.
In reply to Re: net::ssh::perl Wrong key type
by jcb
in thread net::ssh::perl Wrong key type
by jpsaraiva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |