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...
This was a project i did very recently and it was a hit for me..
For the 2nd Anniversary of Wataniya Telecom Maldives, there challenging technical staffs built a model mobile phone and it was awesome . They came up with an idea to make the model phone work as an normal mobile phone, so they came and had a conversation with me how to make it alive? So i did gave them some ideas and gave a final idea for them.
I built a small circuit which can determine the input with the help of a small micro controller. The micro controller code was simple cause i also have done some experiments for my "Keypad with brain" project. So it was not tough.
When the circuit is wired up with the model phone buttons it will detect which button has been pressed and the circuit gives an serial out put to the PC. Up to this my part was completed and rest was completed by the wataniyans. The computer interface they built was kewl. enjoy some pictures.
Comments