yubikey-agent is a seamless SSH agent specifically built for secure hardware tokens such as YubiKey (and other PIV tokens). It aims to replace the standard SSH agent with a version tailored for these security devices; the key is generated on the hardware token (so it can’t be extracted), every session requires a PIN and a physical touch, and the agent is resilient to unplugging, sleep/suspend, and restarts. Setup is simple, one command and one environment variable, and then the agent just runs in the background. Because it uses pure Go and leverages libraries like go-piv/piv-go and golang it works across platforms and integrates cleanly into SSH workflows. For developers or administrators who prioritize hardware-based SSH key security, this tool lowers the friction of using secure tokens in day-to-day SSH workflows. It also supports modern best practices in SSH authentication and brings stronger guarantees of key security in a user-friendly interface.

Features

  • SSH agent built around hardware security tokens (YubiKeys/PIV)
  • One-command setup and a single environment variable to integrate
  • Persistent, robust daemon withstands unplugging, sleep/suspend
  • Public key compatibility with standard SSH servers and services
  • Private key generation on token, offline extraction impossible
  • Built in Go for cross-platform deployment and ease of integration

Project Samples

Project Activity

See All Activity >

Categories

Cryptography

License

BSD License

Follow yubikey-agent

yubikey-agent Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of yubikey-agent!

Additional Project Details

Operating Systems

BSD, Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Cryptography Software

Registered

2025-11-03