SSH is a secure way of accessing servers. But if your private key gets compromised, an attacker can gain access to your servers. Adding Second Factor Authentication (2FA) with a Yubikey is a good option to strengthen your SSH setup, because attackers would need to get physical access to your hardware key on top of having your SSH private key.
How to use your Yubikey to log in via SSH to your server
Jul 6, 2022 ยท 5 min read