Skip to content

Instantly share code, notes, and snippets.

@AnotherKamila
Created January 31, 2023 12:38
Show Gist options
  • Select an option

  • Save AnotherKamila/e4241a1e899f3dc3bf1b2ca868ebf4e4 to your computer and use it in GitHub Desktop.

Select an option

Save AnotherKamila/e4241a1e899f3dc3bf1b2ca868ebf4e4 to your computer and use it in GitHub Desktop.
get a new-ish yubikey to work as an SSH key (2022)
ykman config usb --disable OTP
ykman fido set-pin
ssh-keygen -t ed25519-sk -O resident -f ~/.ssh/id_ed25519_sk
ssh-add -K
@AnotherKamila
Copy link
Author

resident means that it will require both the yubikey and a file stored on the computer; the non-resident option makes the yubikey work stand-alone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment