Menu
blog.headdesk.me
blog.headdesk.me

Tag: MFA

Using U2F key for sudo authentication

I got my U2F key for use with online accounts. It is cheaper than the popular Yubikey and it works well. Did you know you can use it for sudo or pam authentication? Here is how.

Loading

Use oathtool to generate 2FA code

In this example, I’ll be using the oathtool on Ubuntu to generate 2FA code. I’ll be using this for 2FA authentication against AWS access.

Loading

  • aws (14)
  • coffee (2)
  • headfi (1)
  • linux (9)
  • others (61)
  • security (2)
  • tech (41)
  • terraform (3)
  • wordpress (2)

Loading

apache aws awscli azure backup boot cloud coffee docker ec2 EL8 ElasticBeanstalk espresso featured git kernel lelit linux lvm meltdown MFA nat gateway php power proliant python rdp Redhat RHEL rpm Ryzen scp security smartarray smart switch snapshot spectre tech terraform ubuntu ubuntu upgrade vpn windows wordpress workspace

©2026 blog.headdesk.me | Powered by SuperbThemes