Setting up 2FA for SSH in Debian

Introduction Prerequisitess Install Google’s PAM Intialization Configuring PAM Configuring OpenSSH Making SSH Aware of MFA Introduction One of the secure login method in linux based system is Key Based Authentication. Key authentication provides cryptographic strength that even extremely long passwords can not offer. With SSH, public key authentication improves security considerably as it frees the users from remembering complicated passwords (or worse yet, writing them down). User has private key in his laptop / desktop and public key will be pushed to destination server. [Read More]