No such thing as a small change | |
PerlMonks |
Re: problem with Net::SSH::Perl using dsa key authenticatioby AppleFritter (Vicar) |
on Jul 25, 2014 at 10:09 UTC ( [id://1095018]=note: print w/replies, xml ) | Need Help?? |
I've never worked with Net::SSH::Perl, but looking through its code, I'm getting a feeling you may need to call $login->login() before authenticating. This seems counterintuitive to me, but apparently login() (well, _login()) is what sets the AuthMgr on a Net::SSH::Perl::SSH2 object in the first place. I'm afraid I can't try it, but it should be a starting point for further investigation.
In Section
Seekers of Perl Wisdom
|
|