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...
Click the image for a better view
Tonight me, whoknowz, sheyh, and nizam went for a GPS drive test and it was awesome. We placed the GPS in the car and connected to a laptop with internet to load google earth. We saw every turn we made and the speed we are traveling, it was a successful test and we hope to do a full test tomorrow night. Until then goodnight and see ya tomorrow.
Tonight me, whoknowz, sheyh, and nizam went for a GPS drive test and it was awesome. We placed the GPS in the car and connected to a laptop with internet to load google earth. We saw every turn we made and the speed we are traveling, it was a successful test and we hope to do a full test tomorrow night. Until then goodnight and see ya tomorrow.
Comments
cant wait for the full test results ...
post as soon as possible with all the details ...
this can be put to good use ...
hehe ...
PS::
can u plz open up commenting for non google/blogger users ... ???