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...
Last night i did some test with the chemicals which is used to develop PCB. For test i used piece of copper plated PCB sheet around 2 inch, and drew a simple circuit from a water proof pen and this circuit will detect infrared signal. For that i used a surface mount(SMD) LM358. I used surface mount chip because i want to make the circuits compact than now.
Even though i used a SMD chip i used normal 1/4 watt resistors in my circuit cause this time i did not order for the SMD resistors and stuffs. This was just a test for the chemicals that i have so the test is perfect. Chemicals are good to go for other developments. In my robo, the circuits will be surface mount ones.
This week i will do some positives to burn from chemical. Then it will look like an original circuit.
Comments