macOS
brew install sshpasslocal Homebrew formula metadata
sudo port install sshpassMacPorts ports tree · sysutils/sshpass/Portfile · 来源: api.github.com
安装
brew install sshpasslocal Homebrew formula metadata
sudo port install sshpassMacPorts ports tree · sysutils/sshpass/Portfile · 来源: api.github.com
sudo apk add sshpassAlpine Linux edge package indexes · sshpass · 来源: dl-cdn.alpinelinux.org
sudo apt install sshpassDebian stable package indexes · sshpass · 来源: deb.debian.org
sudo dnf install sshpassFedora Rawhide package metadata · sshpass · 来源: dl.fedoraproject.org
nix profile install nixpkgs#sshpassnixpkgs package indexes · pkgs/by-name/ss/sshpass/package.nix · 来源: api.github.com
sudo pacman -S sshpassArch Linux sync databases · sshpass · 来源: geo.mirror.pkgbuild.com
sudo zypper install sshpassopenSUSE Tumbleweed package metadata · sshpass · 来源: download.opensuse.org
scoop install main/sshpassScoop official bucket manifest trees · bucket/sshpass.json · 来源: api.github.com
winget install --id xhcoding.sshpass-win32 -eWindows Package Manager source index · xhcoding.sshpass-win32 · 来源: cdn.winget.microsoft.com
概览
Non-interactive SSH password auth
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
sshpass | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:sshpass |
|---|---|
| 版本 | 1.10 |
| 软件包管理器 | Homebrew |
| 主页 | https://sourceforge.net/projects/sshpass/ |
| 最后更新 | 2026-07-04T13:13:44+09:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.