Changes for version 0.006 - 2026-12-01

  • Builds on Windows with Strawberry Perl: LibSSH.xs takes libssh's sftp.h with perl's uid_t and gid_t, and stat() reads the ids as the unsigned 32-bit values the SFTP protocol carries
  • Requires Alien::libssh 0.004, whose static libssh links on Windows
  • t/11-threads.t passes on Windows: the child perl gets its code as a script file, and the test reads the child's output as text
  • Requires perl 5.10, which the test suite is written for
  • The tests against a local sshd skip for a user whose login shell runs no commands (nologin, false): sshd runs every command through that shell
  • error() is undef after a connect() that worked, also when libssh still holds the text of an earlier failure, such as a rejected option()
  • The test fake server links with -pthread, so t/12 and t/13 build against the static libssh on systems whose libc has no pthread_create (glibc before 2.34, FreeBSD, MidnightBSD, OpenBSD)
  • t/13 asks again, later each time, when libssh reports the hang-up instead of the method that found no match, and skips the assertions that need a refused default proposal where the linked libssh connects anyway because its defaults follow a system crypto policy

Modules

Perl binding for libssh - SSH without SFTP dependency
SSH exec channel for Net::LibSSH
Optional SFTP session for Net::LibSSH