add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
25
old_snippets/init-yubikey.md
Normal file
25
old_snippets/init-yubikey.md
Normal 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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue