Created attachment 623492 [details] Fix operator precedence in auth agent check The perl module checks the libssh2 version to decide if agent authenticaion support should be used, but there is a bad operator precedence in the check (>= has higher precedence than ||). While the bug is upstream, the situation (running newer Net::SSH2 with older libssh2) is pretty specific to RHEL 6. This bug makes ->auth calls fail unless an explicit auth rank is set. The attached patch fixes the problem.
I've just pushed this to Rawhide with the 0.47 update. The el6 build will be available shortly.
perl-Net-SSH2-0.45-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/perl-Net-SSH2-0.45-3.el6
perl-Net-SSH2-0.45-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
The necessary patch is included in the SRPM but not actually applied in the spec, so the problem still exists.
It's applied on line 59.
Oh, discard the previous comment; that was valid for Fedora. You're right -- the patch is not applied in EPEL.
perl-Net-SSH2-0.45-4.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/perl-Net-SSH2-0.45-4.el6
perl-Net-SSH2-0.45-4.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
The -4 update does indeed fix the problem. Thanks!