MyPrivateClaw

YubiKey 5C NFC: The Complete Security Guide

Set up two YubiKeys for SSH, GPG, FIDO2 passkeys, and NFC — and never get locked out.

Guide overview

The YubiKey 5C NFC is the most versatile hardware security key available — USB C for your Mac or Linux machine, NFC for your phone, and support for every modern authentication protocol. This guide covers the complete setup: initial configuration, SSH authentication for your private AI servers, GPG signing for git commits, FIDO2 passkeys for cloud accounts, and NFC use on iOS and Android. Critically, it covers the one rule most guides skip: always register two keys.