# 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/sshpass>
- **バージョン:** 1.10
- **ソース概要:** Non-interactive SSH password auth
- **ホームページ:** <https://sourceforge.net/projects/sshpass/>
- **上流ドキュメント:** <https://sourceforge.net/projects/sshpass/>
- **ライセンス:** GPL-2.0-only
- **ソースアーカイブ:** <https://downloads.sourceforge.net/project/sshpass/sshpass/1.10/sshpass-1.10.tar.gz>
- **最終更新:** 2026-07-04T13:13:44+09:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- sshpass (cli)
- sshpass (エイリアス)

## インストール挙動

- post-install フック: 未定義
- 注意点: 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.
- Bottle: 利用可能 対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.10
- マネージャ更新日: 2026-07-04
- ローカルデータ: OK
- 上流リポジトリ: https://sourceforge.net/projects/sshpass/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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

## ソースデータベース詳細

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

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

- 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


## 関連リンク

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


## ソース

- 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
