TecMint published a tutorial about setting up two-factor authentication for SSH in Linux.
How to Setup Two-Factor Authentication For SSH In Linux
The Google Authenticator is an open-source module that includes implementations of one-time passcodes (TOTP) verification tokens developed by Google.
How to Setup Two-Factor Authentication For SSH In Linux