libssh2 read() behaves differently after 6.4 update causing issues with perl-Net-SSH2

Solution Verified - Updated -

Issue

When using Net::SSH2 in perl to read() files from a remote system via sftp, the function only returns 2000 bytes after the upgrade from 6.3 to 6.4.

Environment

  • Red Hat Enterprise 6.4
  • libssh2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content