Русские видео

Сейчас в тренде

Иностранные видео




Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Don't Risk It: Strengthen SSH Security with Two-Factor Authentication (2FA)

#stayinandexploreitkb #nmam #ssh #openssh #linuxsecurity SSH Security - In this video lecture, I am going to demonstrate to you all how to secure your SSH service in the latest Ubuntu 22.04.3 LTS version with Google Two-Factor Authentication. Secure your Linux system’s logins by installing and enabling a two-factor authentication tool called Google Authenticator PAM module, PAM is a - Pluggable Authentication Modules, by implementing a PAM module, we can add custom or other authentication methods for users on Ubuntu 22.04 LTS Jammy JellyFish. Although by default you could protect your SSH connection with an account username and password or with SSH key login methods, here we are going to add an extra layer of protection, we can use 2FA or a two-factor authentication method. This ensures without the supply of an additional security code the user won’t be able to log in. Install and Configure Google Authenticator apt install libpam-google-authenticator -y google-authenticator (generator the security key and copy the QR code URL) cp /etc/pam.d/sshd /etc/pam.d/sshd.bak (backup the file first) nano /etc/pam.d/sshd (@after the include common-auth add the following line) auth required pam_google_authenticator.so cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak nano /etc/ssh/sshd_config (edit the file) Change two options KbdInteractiveAuthentication yes UsePAM yes Restart the SSH Service sudo systemctl restart sshd.service Connect to SSH and test the 2FA

Comments