To provide the 2FA mechanism for this Linux machine, you must install Google Pluggable Authentication Module (PAM). Preconfigured Google Authenticator app on iOS or Android mobile.SSH server running on the Linux machine.Administrative (sudo) access to a running Linux machine - for example, Ubuntu 20.04 or similar.To follow along, ensure you’ve met the following prerequisites: We’ll use nano as our editor in examples. This tutorial guides you through setting up Google Authenticator PAM to enable SSH 2FA for users connecting to a Linux server. This approach forces an administrator to self-identify with an additional security verification in addition to the local admin credentials. One way to enhance SSH login security is by using two-factor authentication (2FA).
0 Comments
Leave a Reply. |