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...
Its been more than two weeks that i am designing a new bench power supply with adjustable dual polarity and non adjustable 5V. Which includes safety fuse and LCD or 7Segment display to monitor current and voltage.. but still not decided to which to put.
The transformer used in the power supply is re wound to make it center tap. Before it has only one coil in secondary so i disassemble the transformer and re wound it again for my needs.
The rectifiers are circuit's taken from a computer power supply from junk. The diodes in the rectifier is high current diodes so i planed to cut the part out from a power supply.
For variable +15V i used LM317 and for -15V i use LM337. Still i am waiting for my component orders. Once 5K VR arrives i will finish this project.
The transformer used in the power supply is re wound to make it center tap. Before it has only one coil in secondary so i disassemble the transformer and re wound it again for my needs.
The rectifiers are circuit's taken from a computer power supply from junk. The diodes in the rectifier is high current diodes so i planed to cut the part out from a power supply.
For variable +15V i used LM317 and for -15V i use LM337. Still i am waiting for my component orders. Once 5K VR arrives i will finish this project.
Comments