Using a Yubikey and GPG for SSH authentication
Overview I wanted a way to secure my SSH private key on a hardware token, so I configured a Yubikey to store the key. This is an overview of the the steps I took to do this. Install required software GPG If you don’t already have GPG installed, you can get it from https://gnupg.org or install it via your favorite package manager. To install it via Homebrew: $ brew install gpg2 Pinentry (for Mac) We’ll also want to install a suitable pinentry program to use when authenticating to a remote server.
read more...
Tags: yubikey gpg ssh linux macos
Overview I wanted a way to secure my SSH private key on a hardware token, so I configured a Yubikey to store the key. This is an overview of the the steps I took to do this. Install required software GPG If you don’t already have GPG installed, you can get it from https://gnupg.org or install it via your favorite package manager. To install it via Homebrew: $ brew install gpg2 Pinentry (for Mac) We’ll also want to install a suitable pinentry program to use when authenticating to a remote server.
read more...
Tags: yubikey gpg ssh linux macos