Configure One-Time Password on Ubuntu (login, sudo, SSH)

Опубликовано: 03 Октябрь 2024
на канале: Average Linux User
4,288
191

Configure a 2FA with a one-time password on Ubuntu for login, ssh connection and even sudo command to enhance the security of your Ubuntu.
Extended text version: https://averagelinuxuser.com/otp-ubuntu/
   • How to install and use SSH on Linux  
   • How to use SSH Public Key authentication  
   • Data Encryption in Linux  

################################################

My Linux PC: https://averagelinuxuser.com/linux_pc...
My other hardware: https://www.amazon.com/shop/averageli...

Support the project:
Patreon:   / averagelinuxuser  
Buy Me a Coffee: https://www.buymeacoffee.com/avglinux...

Buy Linux Laptop: https://starlabs.systems/?rfsn=472898...
Shop on Amazon: https://www.amazon.com/shop/averageli...

BTC: 1CfCLTYCqqDfYbngcvQtEav3n7SMZihfSS

###############################################

Website: https://averagelinuxuser.com/
LBRY.tv: https://lbry.tv/$/invite/@AVGLinux:2
Facebook:   / averagelinuxuser  
Twitter:   / avglinuxuser  

################################################

Timecodes:
0:00 One-time password on Ubuntu
0:25 1. Install Google Authenticator on your Ubuntu
0:35 2. Install OTP mobile app on your phone
0:46 3. Activate Google Authenticator
1:28 4.1 Enable a One-Time Password System-Wide
2:09 4.2 Disable One-Time Password for SUDO
2:45 5. Enable a One-Time Password for SSH
3:35 6. One-Time Password and Public key for SSH
3:45 7. Disable one-time password on Ubuntu

Tags: #Linux #OTP #ubuntu