Automic VaultAutomic Vault

brew

Install opkssh with Homebrew, apt, dnf, Nix, winget

Enables SSH to be used with OpenID Connect. Version 0.15.0 via Homebrew; verified 2026-06-24.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install opkssh

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install golang-github-openpubkey-opkssh-dev

Debian stable package indexes · golang-github-openpubkey-opkssh-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install opkssh

Fedora Rawhide package metadata · opkssh · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#opkssh

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

Windows

Windows Package Managerverified · 92%
winget install --id openpubkey.opkssh -e

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

overview

Package summary

Enables SSH to be used with OpenID Connect

Commands and aliases

  • opkssh

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:ssh

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
opksshcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.15.0
manager updated2026-06-24
local dataok
upstreamcurrent
latest detectedv0.15.0

https://github.com/openpubkey/opkssh

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:opkssh
Version0.15.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/opkssh
Homepagehttps://eprint.iacr.org/2023/296
Repositoryhttps://github.com/openpubkey/opkssh
Upstream docshttps://github.com/openpubkey/opkssh#readme
LicenseApache-2.0
Source archivehttps://github.com/openpubkey/opkssh/archive/refs/tags/v0.15.0.tar.gz
Last updated2026-06-24T19:03:06Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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