Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, Nix, winget 安装 opkssh

查看 opkssh 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install opkssh

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install opkssh

Debian stable package indexes · opkssh · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install opkssh

Fedora Rawhide package metadata · opkssh · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#opkssh

nixpkgs package indexes · pkgs/by-name/op/opkssh/package.nix · 来源: api.github.com

Windows

Windows Package Manager已验证 · 92%
winget install --id openpubkey.opkssh -e

Windows Package Manager source index · openpubkey.opkssh · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Enables SSH to be used with OpenID Connect

命令和别名

  • opkssh

历史

项目历史与用法

opkssh, short for OpenPubkey SSH, brings OpenID Connect identity into ordinary SSH login flows. It lets administrators authorize identities such as email addresses and groups instead of distributing long-lived SSH public keys, while still using the stock SSH client and server protocol.

项目历史

The tool is built on OpenPubkey, a protocol described in a 2023 IACR paper that binds a user-held public key into an OpenID Connect ID Token, turning that token into what the authors call a PK Token. opkssh applies that idea to SSH by generating an SSH key/certificate carrying the PK Token and by configuring sshd to verify it.

Cloudflare announced on 2025-03-25 that it had open-sourced OPKSSH under the OpenPubkey project. The announcement says the OpenPubkey protocol became an open source Linux Foundation project in 2023, while OPKSSH had remained closed source under BastionZero, later Cloudflare, until the donation.

采用历史

The project moved quickly into normal package-manager territory for a security tool: its metadata lists packages for Homebrew, Debian development packages, Fedora, Nix, and Windows winget, and the README documents Homebrew, winget, Chocolatey, Nix, and direct binary installs.

使用方式

A user runs `opkssh login`, authenticates in a browser with an OpenID Provider, and receives a generated SSH key whose public side contains the OpenPubkey token. On the server, opkssh is used through sshd's `AuthorizedKeysCommand` hook, so the verifier can extract the PK Token, validate the identity provider signature and expiry, and map the identity to a Unix or Windows account.

Operators use `/etc/opk/providers` to choose trusted OpenID Providers and client IDs, and `/etc/opk/auth_id` or per-user equivalents to authorize identities, subjects, or group claims. The design gives SSH administrators an SSO-style access list without changing the SSH wire protocol.

为什么软件包爱好者会关心

opkssh is interesting because it packages an identity-protocol research result as a small CLI that plugs into a decades-old Unix extension point. For package nerds, the notable bit is not a new daemon or a replacement SSH stack, but a cross-platform binary that makes SSH key lifecycle policy distributable through package managers.

时间线

  • 2023: OpenPubkey is published as a protocol for binding OpenID Connect ID Tokens to user-held public keys.
  • 2023: OpenPubkey becomes an open source Linux Foundation project, according to Cloudflare's OPKSSH open-source announcement.
  • 2025-03-25: Cloudflare announces that OPKSSH has been donated to the OpenPubkey project and released as open source.

Related projects

  • OpenPubkey is the underlying protocol. OpenSSH supplies the client/server behavior and `AuthorizedKeysCommand` integration point. The broader ecosystem includes OpenID Providers such as Google, Microsoft Entra ID, GitLab, Keycloak, Authentik, Authelia, Zitadel, and similar OIDC services.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:ssh

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/opk/providers/etc/opk/auth_id/etc/opk/policy.d/*.yml
Unix
~/.opk/config.yml
Windows
%ProgramData%\opk\providers%ProgramData%\opk\auth_id

可执行文件

已安装的可执行文件

命令类型暴露范围备注
opksshcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本0.16.0
管理器更新时间2026-07-14
本地数据OK
上游当前
检测到的最新版本v0.16.0

https://github.com/openpubkey/opkssh

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:opkssh
版本0.16.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/opkssh
主页https://eprint.iacr.org/2023/296
仓库https://github.com/openpubkey/opkssh
上游文档https://github.com/openpubkey/opkssh#readme
许可证Apache-2.0
源码归档https://github.com/openpubkey/opkssh/archive/refs/tags/v0.16.0.tar.gz
最后更新2026-07-14T18:47:27Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopkssh
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

golang-github-openpubkey-opkssh-dev 0.4.0-1

OpenPubkey SSH tools for OpenID SSH logins (library)

https://github.com/openpubkey/opkssh

sudo apt install golang-github-openpubkey-opkssh-dev
  • Section: golang
  • Architecture: all
  • Source Package: opkssh
  • 10 依赖
  • normalized package name match
  • 匹配方式:Opkssh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: golang-github-openpubkey-opkssh-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

opkssh 0.4.0-1+b2

OpenPubkey SSH tools for OpenID SSH logins (program)

https://github.com/openpubkey/opkssh

sudo apt install opkssh
  • Section: net
  • Architecture: amd64
  • Source Package: opkssh
  • 1 依赖
  • normalized package name match
  • 匹配方式:Opkssh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: opkssh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

opkssh

nix profile install nixpkgs#opkssh
  • normalized package name match
  • 匹配方式:Opkssh
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/op/opkssh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

opkssh 0.14.0-2.fc45

OpenPubkey SSH

https://github.com/openpubkey/opkssh

sudo dnf install opkssh
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MIT-0 AND Unlicense
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: opkssh
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Opkssh
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: opkssh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

opkssh-doc 0.14.0-2.fc45

Documentation for OpenPubkey SSH

https://github.com/openpubkey/opkssh

sudo dnf install opkssh-doc
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MIT-0 AND Unlicense
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: opkssh
  • 1 提供
  • normalized package name match
  • 匹配方式:Opkssh
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: opkssh-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

opkssh-server 0.14.0-2.fc45

Server configuration for OpenPubkey SSH

https://github.com/openpubkey/opkssh

sudo dnf install opkssh-server
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MIT-0 AND Unlicense
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: opkssh
  • 2 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Opkssh
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: opkssh-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

opkssh-server-selinux 0.14.0-2.fc45

SELinux policy for OpenPubkey SSH

https://github.com/openpubkey/opkssh

sudo dnf install opkssh-server-selinux
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MIT-0 AND Unlicense
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: opkssh
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Opkssh
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: opkssh-server-selinux from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
winget95%

openpubkey.opkssh

winget install --id openpubkey.opkssh -e
  • normalized package name match
  • 匹配方式:Opkssh
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: openpubkey.opkssh from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment