Skip to content

Releases: Jord-JD/php-ssh-connection

v4.0.0

16 Feb 03:33

Choose a tag to compare

Breaking Changes

  • Minimum supported PHP version is now PHP 7.2.

CI and Maintenance

  • Removed Travis CI and Coveralls configuration/artifacts.
  • Added GitHub Actions CI workflow (tests.yml) running on PHP 7.2, 7.4, 8.0, and 8.4.
  • Added built-in SSH integration environment setup in CI for key + password auth tests.

Features and Fixes

  • Merged PR #13: added withPrivateKeyString() support for in-memory private keys.
  • Added runCommands() to support multi-command execution in a single shell context (resolves #9).
  • Added secure fingerprint algorithms: SHA-256 and SHA-512 (resolves #7).
  • Added recursive directory support in download() (resolves #11).
  • Refactored tests to be environment-driven and CI-agnostic.

Compatibility

  • Package supports PHP 7.x (7.2+) and PHP 8.x.

v3.0.0

14 Feb 22:36

Choose a tag to compare

Full Changelog: v2.2.0...v3.0.0

v2.2.0

27 May 22:59
d6c8326

Choose a tag to compare

  • Add ability to specify a timeout
  • Fix custom SSH port not being used correctly

v2.1.0

17 Oct 19:29
4be110a

Choose a tag to compare

  • Add SSH server fingerprinting.

v2.0.0

08 Aug 11:23

Choose a tag to compare

  • Rework to use phpseclib native SSH implementation, meaning the PHP SSH2 extensions is no longer required.
  • Modify withKeyPair() authentication method to withPrivateKey().

v1.3.1

07 Aug 21:16

Choose a tag to compare

  • Fix bug with isConnected() method.

v1.3.0

07 Aug 20:33

Choose a tag to compare

  • Add isConnected method to retrieve current connected status.

v1.2.0

07 Aug 20:28

Choose a tag to compare

  • Throw exception on connection error.

v1.1.0

06 Aug 11:12

Choose a tag to compare

  • Add ability to upload and download files via SCP.

v1.0.1

05 Aug 19:45
e924a6a

Choose a tag to compare

  • Remove unused dependencies.
  • Improve documentation and test suite.