Security News > 2022 > July > How to enable SSH 2FA on Ubuntu Server 22.04

How to enable SSH 2FA on Ubuntu Server 22.04
2022-07-05 15:01

You don't want that, but how do you prevent such a reality? One way is to enable two-factor authentication on the server.

How do you set up SSH 2FA on your Ubuntu Server? Let me show you.

Figure A. Scan the QR code with your 2FA app or type the secret key if the code is too large for the app to scan and hit enter.

How to configure the SSH daemon for 2FA. Now that 2FA is installed and configured, we also have to configure the SSH daemon to make use of it.

Upon successfully typing the 2FA code, you should be allowed access to the server.

Congratulations, you've just configured Ubuntu Server 22.04 for a much more secure SSH login process.


News URL

https://www.techrepublic.com/article/enable-ssh-2fa-ubuntu-server/

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
Ubuntu 14 13 39 18 19 89
SSH 7 1 7 4 2 14