Changes for version 0.005 - 2026-10-21

  • A failed connect adds the "host key checking is on: add the host to known_hosts ... or opt out" hint only when the error is a host key refusal; a refused or unreachable port (a host still rebooting) carries no host key hint.
  • Rex::Interface::File::LibSSH reports failure. open returns false when the exec request fails or, reading, when cat exits non-zero, so a missing file does not read as an empty one; write dies on a failed write; close dies when the remote cat exited non-zero, so a write into a missing directory or onto a full disk is not reported as changed.
  • Rex::Interface::Fs::LibSSH::glob returns an empty list when a pattern matches nothing; file names are not split at whitespace and a blank in the pattern stays part of one word.

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)