凭据访问
Reads SSH keys, agent sockets, known hosts, config, and forwarded credentials.
代理安全
openssh provides remote login, key, and transfer tools with broad host access.
Reads SSH keys, agent sockets, known hosts, config, and forwarded credentials.
Can execute commands and transfer files on remote hosts.
Can deploy files, change servers, and expose forwarded credentials.
Gate remote command execution, scp/sftp writes, key generation, and agent forwarding.
Allow local key inspection; require approval before connecting to or mutating remote hosts.
安装
brew install opensshlocal Homebrew formula metadata
sudo port install opensshMacPorts ports tree · net/openssh/Portfile · 来源: api.github.com
sudo apk add opensshAlpine Linux edge package indexes · openssh · 来源: dl-cdn.alpinelinux.org
sudo dnf install opensshFedora Rawhide package metadata · openssh · 来源: dl.fedoraproject.org
nix profile install nixpkgs#opensshnixpkgs package indexes · openssh · 来源: raw.githubusercontent.com
sudo pacman -S opensshArch Linux sync databases · openssh · 来源: geo.mirror.pkgbuild.com
sudo zypper install opensshopenSUSE Tumbleweed package metadata · openssh · 来源: download.opensuse.org
sudo apt install openssh-clientDebian stable package indexes · openssh-client · 来源: deb.debian.org
choco install opensshChocolatey community package catalog · openssh · 来源: community.chocolatey.org
scoop install main/opensshScoop official bucket manifest trees · bucket/openssh.json · 来源: api.github.com
winget install --id Syncplify.Server -eWindows Package Manager source index · Syncplify.Server · 来源: cdn.winget.microsoft.com
概览
OpenBSD freely-licensed SSH connectivity tools
历史
OpenSSH is the OpenBSD project's freely licensed implementation of the SSH protocol suite: remote login, remote command execution, file transfer, key management, agent forwarding, and server-side SSH access. The package includes `ssh`, `sshd`, `scp`, `sftp`, `ssh-keygen`, `ssh-agent`, `ssh-add`, and related tools.
OpenSSH began in 1999 when OpenBSD developers forked Bjorn Gronvall's OSSH, itself derived from Tatu Ylonen's last sufficiently free ssh 1.2.12 release. The OpenSSH project history describes the goal as freeing SSH from license restrictions, cleaning up the code, and maintaining it under the OpenBSD security-audit culture.
The initial import landed on September 26, 1999, shortly before OpenBSD 2.6. The early team removed portability clutter, replaced problematic cryptographic and GPL components, repaired bugs, restored features, and added support for SSH 1.5 and later SSH 2. The OpenBSD manual credits Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo de Raadt, and Dug Song with creating OpenSSH from the original free ssh base.
OpenSSH's project goal was explicit: because telnet and rlogin are insecure, operating systems should ship SSH support. SSH 2 support became usable around May 4, 2000, solving the integrity and patent-era problems of SSH 1 and giving OpenSSH the protocol base that would become standard for secure administration.
OpenSSH became infrastructure software because it replaced insecure remote-login and file-transfer tools with a default, scriptable, auditable SSH suite. The portable release made the OpenBSD code usable on Linux, macOS, Cygwin, Solaris, AIX, HP-UX, and other Unix-like systems by adding compatibility layers, PAM/auditing hooks, and platform-specific sandboxing.
Package managers generally split OpenSSH into client and server packages or ship it in the operating-system base. Homebrew's `openssh` formula exists for users who want a packaged OpenSSH newer or different from the system copy, with dependencies such as libfido2 and OpenSSL for modern authentication and crypto support.
Operators use OpenSSH for daily host access, jump hosts, port forwarding, remote command execution, Git-over-SSH, rsync transport, and automated deployments. Developers touch the package through keys, `~/.ssh/config`, known-host verification, `ssh-agent`, `scp`/`sftp`, and server configuration in `sshd_config`.
OpenSSH also functions as a security policy surface. Choices such as allowed key algorithms, FIDO/U2F support, host key rotation, agent forwarding, chrooting, and subsystem configuration are all exposed through a familiar command and config ecosystem.
OpenSSH is one of the canonical examples of a package becoming part of the operating-system substrate. It is both an upstream security project and a downstream packaging problem: vendors patch it, split client/server binaries, coordinate crypto-library choices, and backport fixes because remote access breakage can lock administrators out of machines.
For package nerds, OpenSSH is also a portability case study. The upstream OpenBSD version stays small and tightly audited, while portable OpenSSH carries the compatibility code that lets one security-sensitive codebase work across many Unix variants.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.ssh/configCredential-bearing paths to review before unattended agent runs.
~/.ssh/id_*~/.ssh/config可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
scp | cli | 全局可执行文件 | |
sftp | cli | 全局可执行文件 | |
slogin | cli | 全局可执行文件 | |
ssh | cli | 全局可执行文件 | |
ssh-add | cli | 全局可执行文件 | |
ssh-agent | cli | 全局可执行文件 | |
ssh-keygen | cli | 全局可执行文件 | |
ssh-keyscan | cli | 全局可执行文件 | |
sshd | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:openssh |
|---|---|
| 版本 | 10.4p1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/openssh |
| 主页 | https://www.openssh.com/ |
| 仓库 | https://anongit.mindrot.org/openssh.git |
| 上游文档 | https://www.openssh.com/manual.html |
| 许可证 | SSH-OpenSSH |
| 源码归档 | https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-10.4p1.tar.gz |
| 最后更新 | 2026-07-06T18:10:51Z |
| Pulse | updated |
| 依赖 | ldns, libfido2, openssl@3 |
| 构建依赖 | pkgconf |
| macOS 提供的库 | krb5, libedit, libxcrypt |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | openssh |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
openssh-client 1:10.0p1-7+deb13u4
secure shell (SSH) client, for secure access to remote machines
sudo apt install openssh-clientopenssh-client-gssapi 1:10.0p1-7+deb13u4
secure shell (SSH) client, with GSS-API support
sudo apt install openssh-client-gssapiopenssh-server 1:10.0p1-7+deb13u4
secure shell (SSH) server, for secure access from remote machines
sudo apt install openssh-serveropenssh-server-gssapi 1:10.0p1-7+deb13u4
secure shell (SSH) server, with GSS-API key exchange
sudo apt install openssh-server-gssapiopenssh-sftp-server 1:10.0p1-7+deb13u4
secure shell (SSH) sftp server module, for SFTP access from remote machines
sudo apt install openssh-sftp-serveropenssh-tests 1:10.0p1-7+deb13u4
OpenSSH regression tests
sudo apt install openssh-testsssh 1:10.0p1-7+deb13u4
secure shell client and server (metapackage)
sudo apt install sshssh-askpass-gnome 1:10.0p1-7+deb13u4
interactive X program to prompt users for a passphrase for ssh-add
sudo apt install ssh-askpass-gnomeopenssh
nix profile install nixpkgs#opensshopenssh-client 1:9.6p1-3ubuntu13
secure shell (SSH) client, for secure access to remote machines
sudo apt install openssh-clientopenssh-server 1:9.6p1-3ubuntu13
secure shell (SSH) server, for secure access from remote machines
sudo apt install openssh-serveropenssh-sftp-server 1:9.6p1-3ubuntu13
secure shell (SSH) sftp server module, for SFTP access from remote machines
sudo apt install openssh-sftp-serveropenssh-tests 1:9.6p1-3ubuntu13
OpenSSH regression tests
sudo apt install openssh-testsssh 1:9.6p1-3ubuntu13
secure shell client and server (metapackage)
sudo apt install sshssh-askpass-gnome 1:9.6p1-3ubuntu13
interactive X program to prompt users for a passphrase for ssh-add
sudo apt install ssh-askpass-gnomeopenssh 10.3_p1-r0
Port of OpenBSD's free SSH release
https://www.openssh.com/portable.html
sudo apk add openssh来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.