# spatie/ssh

> A lightweight package to execute commands over an SSH connection

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/spatie/ssh
- HTML: https://awesomeopensource.dev/project/spatie-ssh
- Website: https://spatie.be/open-source
- License: MIT
- Language: PHP
- stars: 832
- Topics: php, ssh
- Activity score: 3.9/5 (Active)
- Last commit (any branch): 2026-11-05
- Last release: 1.13.2 2026-07-24

## Description

A lightweight PHP package for running commands on remote servers over SSH and returning Symfony Process instances. It supports asynchronous execution, several commands in one call, custom ports, timeouts, private keys, passwords through sshpass, jump hosts and connection multiplexing. Files and directories transfer over scp, output can be streamed line by line, and Windows targets preserve real exit codes.

## Maintenance activity

- Recency: 94% (weight 40%) — last commit: 8 days ago
- Commit volume: 38% (weight 25%)
- Releases: 61% (weight 25%) — last release: 112 days ago
- Bug fixes: 100% (weight 10%)
- Commits: 2 / 90d, 9 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
