How to Enable 2FA for SSH Logins on Rocky Linux, CentOS or RHEL

Published: 03 June 2021
on channel: Bernhard Knasmueller
3,279
56

Learn how to config your Rocky Linux 8, CentOS 8 or RHEL 8 server such that it prompts for a two-factor authentication when you login via SSH key.

0:00​​​​​ Intro

2:03 Installing the necessary libraries
3:52 Setting up Google authenticator
7:00 Changes to sshd
8:22 Changes to pam.d
9:55 Testing the new config
10:49 Summary


WHO AM I:
I'm Bernhard, a software engineer working in Vienna, Austria. I make videos about technology, productivity and engineering.


Watch video How to Enable 2FA for SSH Logins on Rocky Linux, CentOS or RHEL online without registration, duration hours minute second in high quality. This video was added by user Bernhard Knasmueller 03 June 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,279 once and liked it 56 people.