Problem reading files on AIX
Austin Green
austin.green at orcon.net.nz
Tue Jan 7 03:53:03 CET 2025
Hi,
My Windows app using libssh2 works fine accessing *nix hosts, except when connected to an AIX platform. Stepping through all the files in a directory, it tries to read the first 64 bytes of each. This works fine on other *nix flavours, but on AIX the call to libssh2_scp_recv2 returns NULL, then libssh2_session_last_error returns 'Channel open failure (administratively prohibited)'. This happens only for *some* files, not all of them. They have appropriate permissions (I can log on to the AIX system via PuTTY and read the same files no problem).
I know AIX is a bit of a strange beast, and one I'm unfamiliar with, so I'd be most grateful for any hints on how to diagnose this.
Regards,
Austin.
More information about the libssh2-devel
mailing list