Setup TOTP SSH on Ubuntu Using Google Authenticator

Описание к видео Setup TOTP SSH on Ubuntu Using Google Authenticator

In this comprehensive video tutorial, we delve into the vital aspect of enhancing the security of your SSH connections on Ubuntu using Time-Based One-Time Password (TOTP) authentication with Google Authenticator. SSH (Secure Shell) is a fundamental tool for remote system administration, but ensuring its security is paramount in today's digital landscape.

Throughout the video, we walk you through a step-by-step process, starting with the installation of Google Authenticator on your Ubuntu system. We explain how to configure SSH to use TOTP authentication, adding an extra layer of protection to your SSH access.

Commands:
sudo apt install -y libpam-google-authenticator
google-authenticator
sudo nano /etc/ssh/sshd_config
Set KbdInteractiveAuthentication to yes
sudo nano /etc/pam.d/sshd
Look for @include common-auth add
two-factor authentication via Google Authenticator
auth required pam_google_authenticator.so
sudo systemctl restart ssh


Grate wright up on doing this NOT FROM ME
https://www.linuxbabe.com/ubuntu/two-...

Комментарии

Информация по комментариям в разработке