add the old snippet md files

This commit is contained in:
Travis Shears 2025-06-05 16:20:57 +02:00
parent fc0dd204c7
commit bcf8313a4b
110 changed files with 3048 additions and 0 deletions

View file

@ -0,0 +1,25 @@
---
title: "init yubikey"
date: 2021-07-16T12:29:01+02:00
draft: false
snippet_types:
- yubikey
- gpg
---
Some servers at work require yubikey authentication and for some reason I have
to fetch and verify every time I want to use it.
```shell
$ export SSH_AUTH_SOCK=~/.gnupg/S.gpg-agent.ssh
$ gpg --card-edit
fetch
verify
enter key
via pass yubikey
quit
$ ssh-add -L
$ ssh travis@serverX
```