Error reading response length from auth socket. at /usr/local/lib64/perl5/Net/SSH/Perl/Auth/PublicKey.pm line 104.
That looks like the module is connecting to the local ssh agent and getting an unexpected response. Are your keys protected by a passphrase?
I would run both the Perl script and the OpenSSH client with strace and see what both were doing different at the point of failure.
In reply to Re^3: Issue with Net::SSH::Perl - can't establish connection
by salva
in thread Issue with Net::SSH::Perl - can't establish connection
by dayton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |