Changes for version 0.007 - 2026-12-01
- 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
- Rex::Interface::Fs::LibSSH::stat works on BSD targets (FreeBSD, macOS, OpenBSD): it asks GNU/BusyBox stat first and falls back to BSD stat (-f), with the same six fields, the mode including the setuid, setgid and sticky bits as on Linux. Rex's stat and mkdir and the mode and owner checks of file and mkdir stat through this backend, so they now work on existing files there too; before, they died with "Can't stat".
- The tests check files they write themselves, also on systems without /etc/hostname such as FreeBSD. The new t/09-bsd-stat.t runs the live sshd with a BSD-style stat at the front of the login PATH.
- Requires Net::LibSSH 0.006, whose error() is undef after a connect that worked.
- Declares perl 5.14.4 as its minimum, which is what Rex requires, so CPAN testers on an older perl report NA rather than a failed dependency.
Modules
Rex SSH connection via Net::LibSSH (no SFTP required)
Rex command execution via Net::LibSSH exec channels
Rex remote file handle via Net::LibSSH exec channels
Rex filesystem operations via exec channels (no SFTP)
Rex connection backend using Net::LibSSH (no SFTP required)