Browse Source

add info about yubikeys

master
Markus Bergholz 2 years ago
parent
commit
0134814afa
  1. 23
      til.md

23
til.md

@ -458,3 +458,26 @@ mount with `davfs2`
increase filesystem
`xfs_growfs /mount/point/`
# yubikey
In general you got
* 2 Slots
* 32 oath credentials storage
#### oath-hotp 2nd slot for ssh auth
1. generate secret
`dd if=/dev/random bs=1k count=1 | sha1sum`
2. flash yubi key slot 2 with generated secret
`ykpersonalize -2 -o oath-hotp -o oath-hotp8 -o append-cr -a <SECRET>`
#### oath totp for aws
* set
`ykman oath add -t aws-username <YOUR_BASE_32_KEY>`
* get
`ykman oath code bergholm -s`
* list
`ykman oath list`
Loading…
Cancel
Save