💾 Archived View for koyu.space › vydyck › tech › linux › yubikey-ssh.gmi captured on 2023-01-29 at 17:09:33. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-06-03)

-=-=-=-=-=-=-

How to use yubikeys with ssh

Initial setup

Follow drduhs elaborate tutorial:

https://github.com/drduh/YubiKey-Guide

local copy

! pay attention to the keytocard part:

I you want to write multiple copies of the private key, eg to multiple yubikeys, DO NOT SAVE during the keytocard pard (save and quit) but CTRL-C after writing all (3) keys to each yubikey and restart the key-edit part

Using the key on a linux system for gpg and ssh

(SSH|GPG) see if your useraccount can access the yubikey via gpg

(SSH) When that returns details for you card

(GPG) export upload/copy/spread your public key