OpenPGP SSH access with Yubikey and GnuPG
Yubikey, Smart Cards, OpenSC and GnuPG are pain in the ass to get working. Those snippets here sould help alleviate pain.
Yubikey Config under Ubuntu
To reset and disable not used modes on Yubikey you need the
You can install it using those commands