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

Поділитися
Вставка
  • Опубліковано 30 чер 2024
  • 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.
  • Наука та технологія

КОМЕНТАРІ • 4

  • @SplineSoup
    @SplineSoup Рік тому

    This was an exceptionally helpful tutorial. Previously, I was using 'password + 2FA' on our servers, but this got me to our next implementation step of 'public key + 2FA' and cutting out password authentication completely. Definitely sound advice to make sure your public key is installed and functioning for SSH authentication before following these steps! Thanks!

  • @eccoedd4511
    @eccoedd4511 2 роки тому

    Thank you so much for the tutorial, It really helped!

  • @gcinamaseko5652
    @gcinamaseko5652 Рік тому

    Spot on dude.... Thanks ✊

  • @ahmedd9072
    @ahmedd9072 4 місяці тому

    Hello all, the video is very helpful. What can I do different with the configuration files if I want to use password+2FA? Thank you!