GitLab 2FA recovery
I sacrificed my 2FA device to the gods of Roskilde Festival last week. And the recovery codes for GitLab I had kept turned out to be outdated.
Fortunately, the sneaky bastards at GitLab allows you to generate new recovery keys via SSH:
ssh git@gitlab.com 2fa_recovery_codes
It's always exciting to see creative uses of SSH like this. And – of course – equally exciting being able to recover your account, even after messing things up like I did.