macOS
brew install sshpasslocal Homebrew formula metadata
sudo port install sshpassMacPorts ports tree · sysutils/sshpass/Portfile · source: api.github.com
brew / rank 510
Non-interactive SSH password auth. Version 1.10 via Homebrew; verified 2026-07-04. Also installable with debian: sudo apt install sshpass.
install
brew install sshpasslocal Homebrew formula metadata
sudo port install sshpassMacPorts ports tree · sysutils/sshpass/Portfile · source: api.github.com
sudo apk add sshpassAlpine Linux edge package indexes · sshpass · source: dl-cdn.alpinelinux.org
sudo apt install sshpassDebian stable package indexes · sshpass · source: deb.debian.org
sudo dnf install sshpassFedora Rawhide package metadata · sshpass · source: dl.fedoraproject.org
nix profile install nixpkgs#sshpassnixpkgs package indexes · pkgs/by-name/ss/sshpass/package.nix · source: api.github.com
sudo pacman -S sshpassArch Linux sync databases · sshpass · source: geo.mirror.pkgbuild.com
sudo zypper install sshpassopenSUSE Tumbleweed package metadata · sshpass · source: download.opensuse.org
scoop install main/sshpassScoop official bucket manifest trees · bucket/sshpass.json · source: api.github.com
winget install --id xhcoding.sshpass-win32 -eWindows Package Manager source index · xhcoding.sshpass-win32 · source: cdn.winget.microsoft.com
overview
Non-interactive SSH password auth
history
sshpass is a small CLI for non-interactive SSH password authentication. It occupies a controversial but persistent niche: automating password-based SSH in scripts even though the project page itself says most users should prefer SSH public-key authentication.
The official SourceForge project describes sshpass as a tool for performing SSH interactive keyboard password authentication non-interactively. The official file feed shows public tarball releases beginning with 0.01 in January 2006, followed by 1.00 in March 2006 and later maintenance releases through 1.10 in February 2023.
The input package-manager facts show sshpass packaged across many ecosystems, including Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Nix, MacPorts, openSUSE, Scoop, winget, and others. That breadth reflects the demand for a tiny compatibility utility in CI scripts, provisioning tools, and legacy environments.
sshpass is commonly used when a command expects interactive SSH password entry but a script needs to supply it non-interactively. The official project description frames this as password-auth automation and explicitly warns that public-key authentication is the more secure normal path.
Package nerds care because sshpass is a classic example of a tiny package with a huge policy footprint: useful, often frowned upon, easy to package, and frequently debated in automation contexts. Its existence in package catalogs documents the gap between ideal SSH key hygiene and the messy reality of legacy systems.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
sshpass | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://sourceforge.net/projects/sshpass/
install metadata
| Package key | brew:sshpass |
|---|---|
| Version | 1.10 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sshpass |
| Homepage | https://sourceforge.net/projects/sshpass/ |
| Upstream docs | https://sourceforge.net/projects/sshpass/ |
| License | GPL-2.0-only |
| Source archive | https://downloads.sourceforge.net/project/sshpass/sshpass/1.10/sshpass-1.10.tar.gz |
| Last updated | 2026-07-04T13:13:44+09:00 |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | Sshpass is a tool for non-interactively performing password authentication with SSH's so called "interactive keyboard password authentication". Most users should use SSH's more secure public key authentication instead. See `man sshpass` for more information. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sshpass |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
sshpass 1.10-0.1
Non-interactive ssh password authentication
https://sourceforge.net/projects/sshpass
sudo apt install sshpasssshpass
nix profile install nixpkgs#sshpasssshpass 1.09-1
Non-interactive ssh password authentication
https://sourceforge.net/projects/sshpass
sudo apt install sshpasssshpass 1.10-r0
Non-interactive SSH authentication utility
https://sourceforge.net/projects/sshpass/
sudo apk add sshpasssshpass-doc 1.10-r0
Non-interactive SSH authentication utility (documentation)
https://sourceforge.net/projects/sshpass/
sudo apk add sshpass-docsshpass 1.09-13.fc45
Non-interactive SSH authentication utility
http://sshpass.sourceforge.net/
sudo dnf install sshpasssshpass 1.10-2
Fool ssh into accepting an interactive password non-interactively
https://sourceforge.net/projects/sshpass/
sudo pacman -S sshpasssshpass 1.10-2.3
Non-interactive SSH authentication utility
https://sshpass.sourceforge.net/
sudo zypper install sshpasssshpass
sudo port install sshpassmain/sshpass
scoop install main/sshpassxhcoding.sshpass-win32
winget install --id xhcoding.sshpass-win32 -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.