This is a simple setup guide to enabling Two Factor Authentication (2FA) on Linux SSH login. I this article I wont go deep into setup and issues that I have faced when implementing this. First thing is first Update your system first. I have used Ubuntu 20.04 and it is always up to date. To enable 2FA you need to install google authenticator modules sudo apt install libpam-google-authenticator Configuration for PAM and SSHD Add the the following line to /etc/pam.d/sshd and After adding this line please restart the sshd services. auth required pam_google_authenticator.so Go to /etc/ssh/sshd_config and check if the following line exist. Default value will be "no" so change it to "yes" to activate. ChallengeResponseAuthentication yes Configuration for Authenticator In the terminal run google authenticator command It will ask few things to acknowledge by user. Details you can see from the below video. Once this part is done you are ready to use the 2FA in ubuntu. T
I always have interest in electronics and i think in 1994 i got an physics book from some where that i don't remember now. Everyday after school i read it and got more interested on it even though i don't understand what its all about. Day by day small radios are disassembled and experimented how it works and able to fix the issues. When i was in grade eight till ten i don't have any interest in studying any subject that i feel useless. More and more focus to physics and math but 99% is always physics specially the electronics chapters. Couple of friends from school know that i know electronics some how and we share what we built and ideas. Those days Internet or PC is not available for me but a friend have i PC and i used to visit him and he knows some computer skills. we spent time on dial-up Internet in IRC. :) One day my physics teacher asked me do you like electronics? i said yes i do and i want to learn more. So he told if you love electronics i can help you t