# sshpass を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

sshpass のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install sshpass
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sshpass
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: Fedora Rawhide package metadata: sshpass from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

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

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:sshpass
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.10
- **ソース概要:** Non-interactive SSH password auth
- **ホームページ:** <https://sourceforge.net/projects/sshpass/>
- **最終更新:** 2026-07-04T13:13:44+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- sshpass (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.10
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

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


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## Combined YAML source

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


## ソース

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