pkg.soopen package index

brew / rank 510

Install sshpass with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Non-interactive SSH password auth. Version 1.10 via Homebrew; verified 2026-07-04. Also installable with debian: sudo apt install sshpass.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install sshpass

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install sshpass

MacPorts ports tree · sysutils/sshpass/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add sshpass

Alpine Linux edge package indexes · sshpass · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install sshpass

Debian stable package indexes · sshpass · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install sshpass

Fedora Rawhide package metadata · sshpass · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#sshpass

nixpkgs package indexes · pkgs/by-name/ss/sshpass/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S sshpass

Arch Linux sync databases · sshpass · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install sshpass

openSUSE Tumbleweed package metadata · sshpass · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/sshpass

Scoop official bucket manifest trees · bucket/sshpass.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id xhcoding.sshpass-win32 -e

Windows Package Manager source index · xhcoding.sshpass-win32 · source: cdn.winget.microsoft.com

overview

Package summary

Non-interactive SSH password auth

Commands and aliases

  • sshpass

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2006: Official SourceForge file feed lists sshpass 0.01 on 5 January 2006.
  • 2006: Official SourceForge file feed lists sshpass 1.00 on 16 March 2006.
  • 2011: Official SourceForge file feed lists sshpass 1.05 on 6 August 2011.
  • 2016: Official SourceForge file feed lists sshpass 1.06 on 30 June 2016.
  • 2021: Official SourceForge file feed lists sshpass 1.07, 1.08, and 1.09.
  • 2023: Official SourceForge file feed lists sshpass 1.10 on 12 February 2023.

Related projects

  • sshpass is related to OpenSSH, password-authenticated automation, CI/provisioning scripts, expect-style terminal automation, and public-key based SSH workflows.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:ssh

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
sshpasscliglobal executable

freshness

Version and 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.

page generated2026-08-04
manager version1.10
manager updated2026-07-04
local dataok
upstreamnot checked
latest detectednot detected

https://sourceforge.net/projects/sshpass/

install metadata

Package metadata

Package keybrew:sshpass
Version1.10
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/sshpass
Homepagehttps://sourceforge.net/projects/sshpass/
Upstream docshttps://sourceforge.net/projects/sshpass/
LicenseGPL-2.0-only
Source archivehttps://downloads.sourceforge.net/project/sshpass/sshpass/1.10/sshpass-1.10.tar.gz
Last updated2026-07-04T13:13:44+09:00
Pulseupdated
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsSshpass 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 details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesshpass
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

sshpass 1.10-0.1

Non-interactive ssh password authentication

https://sourceforge.net/projects/sshpass

sudo apt install sshpass
  • Section: utils
  • Architecture: amd64
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Sshpass
Debian stable package indexes · deb.debian.org · Debian stable package indexes: sshpass from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

sshpass

nix profile install nixpkgs#sshpass
  • normalized package name match
  • Matched by: Sshpass
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ss/sshpass/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

sshpass 1.09-1

Non-interactive ssh password authentication

https://sourceforge.net/projects/sshpass

sudo apt install sshpass
  • Section: universe/utils
  • Architecture: amd64
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Sshpass
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sshpass from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

sshpass 1.10-r0

Non-interactive SSH authentication utility

https://sourceforge.net/projects/sshpass/

sudo apk add sshpass
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: sshpass
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sshpass
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sshpass from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

sshpass-doc 1.10-r0

Non-interactive SSH authentication utility (documentation)

https://sourceforge.net/projects/sshpass/

sudo apk add sshpass-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: sshpass
  • normalized package name match
  • Matched by: Sshpass
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sshpass-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

sshpass 1.09-13.fc45

Non-interactive SSH authentication utility

http://sshpass.sourceforge.net/

sudo dnf install sshpass
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: sshpass
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sshpass
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sshpass from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
pacman95%

sshpass 1.10-2

Fool ssh into accepting an interactive password non-interactively

https://sourceforge.net/projects/sshpass/

sudo pacman -S sshpass
  • License: GPL
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Sshpass
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: sshpass from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

sshpass 1.10-2.3

Non-interactive SSH authentication utility

https://sshpass.sourceforge.net/

sudo zypper install sshpass
  • License: GPL-2.0-or-later
  • Category: System/Management
  • Architecture: x86_64
  • Source Package: sshpass
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sshpass
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: sshpass from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

sshpass

sudo port install sshpass
  • normalized package name match
  • Matched by: Sshpass
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/sshpass/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/sshpass

scoop install main/sshpass
  • normalized package name match
  • Matched by: Sshpass
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/sshpass.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

xhcoding.sshpass-win32

winget install --id xhcoding.sshpass-win32 -e
  • normalized package name match
  • Matched by: Sshpass
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: xhcoding.sshpass-win32 from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation