YubiKey bash setup

From Wikipedia: The YubiKey is a hardware authentication device manufactured by Yubico to protect access to computers, networks, and online services that supports one-time passwords (OTP), public-key cryptography, and authentication, and the Universal 2nd Factor (U2F) and FIDO2 protocols developed by the FIDO Alliance.

To get up and running on a new machine with minimal fuss.

.bashrc

When you are not logged in via SSH, start the gpg-agent. Copy and paste into your terminal to append the configuration to your current .bashrc.

[Read More]

Bash getopts example

This is a small example how to use getopts in bash. I wrote it down for my own sake, as my own cheatsheet :)

[Read More]
howto  bash