NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2181 most downloaded on Packagist
A lightweight package to execute commands over an SSH connection
Latest stable
1.13.2
Last release 4 months ago
24 Jul 2026
Release timing varies
gaps range from 8 days to 11 months
Nearly every release is documented
notes for 27 of 28 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
28 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Report real exit codes for Windows targets by @freekmurze in https://github.com/spatie/ssh/pull/125
Full Changelog: https://github.com/spatie/ssh/compare/1.13.1...1.13.2
Update README.md with sshpass requirements on usePassword usage by @ilbuonmarcio in https://github.com/spatie/ssh/pull/117
Full Changelog: https://github.com/spatie/ssh/compare/1.13.0...1.13.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add password authentication support for SSH by @shaunluedeke in https://github.com/spatie/ssh/pull/103
Full Changelog: https://github.com/spatie/ssh/compare/1.12.0...1.13.0
Add support for PHP 8.4 by @lyrixx in https://github.com/spatie/ssh/pull/106
Full Changelog: https://github.com/spatie/ssh/compare/1.11.0...1.12.0
Update Ssh.php by @leevigraham in https://github.com/spatie/ssh/pull/104
Full Changelog: https://github.com/spatie/ssh/compare/1.10.1...1.11.0
Allow SSH connection without user by @pyrech in https://github.com/spatie/ssh/pull/98
Full Changelog: https://github.com/spatie/ssh/compare/1.10.0...1.10.1
Allow Symfony 7.x by @thecaliskan in https://github.com/spatie/ssh/pull/93
Full Changelog: https://github.com/spatie/ssh/compare/1.9.2...1.10.0
Fix: Setting timeout causes scp commands to fail by @iPwnPancakes in https://github.com/spatie/ssh/pull/89
Full Changelog: https://github.com/spatie/ssh/compare/1.9.1...1.9.2
Fix: Setting timeout created invalid SSH command by @iPwnPancakes in https://github.com/spatie/ssh/pull/87
Full Changelog: https://github.com/spatie/ssh/compare/1.9.0...1.9.1
set timeout by @tal7aouy in https://github.com/spatie/ssh/pull/82
Full Changelog: https://github.com/spatie/ssh/compare/1.8.3...1.9.0
Update README.md by @undersound in https://github.com/spatie/ssh/pull/76
Full Changelog: https://github.com/spatie/ssh/compare/1.8.2...1.8.3
Convert all tests to pest by @alexmanase in https://github.com/spatie/ssh/pull/72
Full Changelog: https://github.com/spatie/ssh/compare/1.8.1...1.8.2
Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/ssh/pull/70
Full Changelog: https://github.com/spatie/ssh/compare/1.8.0...1.8.1
Update .gitattributes by @angeljqv in https://github.com/spatie/ssh/pull/63
Full Changelog: https://github.com/spatie/ssh/compare/1.7.2...1.8.0
Minor Package Maintenance by @patinthehat in https://github.com/spatie/ssh/pull/57
Full Changelog: https://github.com/spatie/ssh/compare/1.7.1...1.7.2
fix uppercase port option for scp by @timrspratt in https://github.com/spatie/ssh/pull/55
Full Changelog: https://github.com/spatie/ssh/compare/1.7.0...1.7.1
Test against php 8.1 by @sergiy-petrov in https://github.com/spatie/ssh/pull/52
Full Changelog: https://github.com/spatie/ssh/compare/1.6.0...1.7.0
add ability to disable/enable password authentication
- add quiet mode option
- add support for PHP 8
- add executeAsync
executeAsync- add onOutput
onOutputadd upload, download and configureProcess methods
upload, download and configureProcess methods- allow 0 as a valid port number
for security reasons, the host key checking is now enabled by default
add enableStrictHostKeyChecking
enableStrictHostKeyChecking- initial release
Nothing published for this version
One column per quarter.