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...
Today i found one of my old projects, actually experimenting stuffs. This is thing is a stepper motor controller. I think many people out there knows whats Stepper Motors are and how it works. Usually this type of motors are in printers and photocopy machines..etc. Actually the circuit i made was to interface a stepper motor to an micro controller IC so i can write a code to turn the motor to different degree and so.. usually this type of applications are used in Robots.
Before i wrote the operating code from assembly language and now i have changed it to C language and its simple and easily understandable for anyone. Hopefully some one will built a robot soon. ;)
Before i wrote the operating code from assembly language and now i have changed it to C language and its simple and easily understandable for anyone. Hopefully some one will built a robot soon. ;)
Comments