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
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
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