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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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