# Installer sshpass avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de sshpass pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:sshpass
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install sshpass
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sshpass
```

  Preuve: MacPorts ports tree: sysutils/sshpass/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add sshpass
```

  Preuve: Alpine Linux edge package indexes: sshpass from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install sshpass
```

  Preuve: Debian stable package indexes: sshpass from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install sshpass
```

  Preuve: Fedora Rawhide package metadata: sshpass from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#sshpass
```

  Preuve: nixpkgs package indexes: pkgs/by-name/ss/sshpass/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S sshpass
```

  Preuve: Arch Linux sync databases: sshpass from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install sshpass
```

  Preuve: openSUSE Tumbleweed package metadata: sshpass from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/sshpass
```

  Preuve: Scoop official bucket manifest trees: bucket/sshpass.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id xhcoding.sshpass-win32 -e
```

  Preuve: Windows Package Manager source index: xhcoding.sshpass-win32 from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:sshpass
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/sshpass>
- **Version:** 1.10
- **Résumé source:** Non-interactive SSH password auth
- **Page d'accueil:** <https://sourceforge.net/projects/sshpass/>
- **Docs amont:** <https://sourceforge.net/projects/sshpass/>
- **Licence:** GPL-2.0-only
- **Archive source:** <https://downloads.sourceforge.net/project/sshpass/sshpass/1.10/sshpass-1.10.tar.gz>
- **Dernière mise à jour:** 2026-07-04T13:13:44+09:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- sshpass (cli)
- sshpass (alias)

## Comportement d'installation

- hook post-installation: non défini
- Précautions: 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.
- Bouteille: disponible sur arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.10
- gestionnaire mis à jour: 2026-07-04
- données locales: OK
- dépôt amont: https://sourceforge.net/projects/sshpass/
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://sourceforge.net/projects/sshpass>
- <https://sourceforge.net/projects/sshpass/rss?path=/>
- source_facts.package-manager


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Détails de la base source

- **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:** stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - sshpass - 1.10-0.1: normalized package name match | Debian stable package indexes: sshpass from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Non-interactive ssh password authentication | https://sourceforge.net/projects/sshpass
- Nix - sshpass: normalized package name match | nixpkgs package indexes: pkgs/by-name/ss/sshpass/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sshpass - 1.09-1: normalized package name match | Ubuntu 24.04 LTS package indexes: sshpass from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Non-interactive ssh password authentication | https://sourceforge.net/projects/sshpass
- apk - sshpass - 1.10-r0: normalized package name match | Alpine Linux edge package indexes: sshpass from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Non-interactive SSH authentication utility | https://sourceforge.net/projects/sshpass/
- apk - sshpass-doc - 1.10-r0: normalized package name match | Alpine Linux edge package indexes: sshpass-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Non-interactive SSH authentication utility (documentation) | https://sourceforge.net/projects/sshpass/
- dnf - sshpass - 1.09-13.fc45: normalized package name match | Fedora Rawhide package metadata: sshpass from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Non-interactive SSH authentication utility | http://sshpass.sourceforge.net/
- pacman - sshpass - 1.10-2: normalized package name match | Arch Linux sync databases: sshpass from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fool ssh into accepting an interactive password non-interactively | https://sourceforge.net/projects/sshpass/
- zypper - sshpass - 1.10-2.3: normalized package name match | openSUSE Tumbleweed package metadata: sshpass from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Non-interactive SSH authentication utility | https://sshpass.sourceforge.net/
- MacPorts - sshpass: normalized package name match | MacPorts ports tree: sysutils/sshpass/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/sshpass: normalized package name match | Scoop official bucket manifest trees: bucket/sshpass.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - xhcoding.sshpass-win32: normalized package name match | Windows Package Manager source index: xhcoding.sshpass-win32 from https://cdn.winget.microsoft.com/cache/source.msix


## Liens liés

- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [gh](https://pkg.so/fr/brew/gh/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [just](https://pkg.so/fr/brew/just/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [watchman](https://pkg.so/fr/brew/watchman/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [go-task](https://pkg.so/fr/brew/go-task/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [powershell](https://pkg.so/fr/brew/powershell/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [parallel](https://pkg.so/fr/brew/parallel/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [ansible-lint](https://pkg.so/fr/brew/ansible-lint/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [lefthook](https://pkg.so/fr/brew/lefthook/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [expect](https://pkg.so/fr/brew/expect/) - Local package facts share a topical domain. Shared terms: automation, cli, developer, developer-tools, interactive.
- [github-keygen](https://pkg.so/fr/brew/github-keygen/) - Security-sensitive metadata or terminology overlaps. Shared terms: authentication, cli, developer, developer-tools, ssh.
- [ahoy](https://pkg.so/fr/brew/ahoy/) - Local package facts share a topical domain. Shared terms: automation, cli, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/sshpass.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sshpass.yml)


## Sources

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