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
During the last trial runs the boat just flipped over by an wave and sunken, but with help from a friend i was able to rescue it. When it was rescued almost all the electronics was under sea and started to corrode. With lots of cleaning and soldering i was able to run it again. But with new motor, ESC, SD card and battery. So after that i modified the boat a lot and the final result was very successful.
Earlier the propeller was bit high and it don't cut enough water. Now the shaft and everything is lowed around 1 half inch. New brushless motor and ESC was tested for two weeks for speed controlling and finally a bit more water proofing. Old shaft coupler removed and made my own coupler for shaft and motor. Most of the firmware also cleaned up ;)
After all these modifications i finally did a wonderful trial run. :) Early morning checked the tide table and it was perfect for test so packed everything and went to testing area.
Today i have done continuous for runs and it was perfect. The best part was the coupler and shaft modifications was perfect. It runs in water smoothly without the noisy motor sound (earlier there was high motor noise due to misalignment) It runs like a champion and the new speed controlling code was much perfect then before.
Sorry that i was not able to capture some video because the phone was kept at home charging. :)
Earlier the propeller was bit high and it don't cut enough water. Now the shaft and everything is lowed around 1 half inch. New brushless motor and ESC was tested for two weeks for speed controlling and finally a bit more water proofing. Old shaft coupler removed and made my own coupler for shaft and motor. Most of the firmware also cleaned up ;)
After all these modifications i finally did a wonderful trial run. :) Early morning checked the tide table and it was perfect for test so packed everything and went to testing area.
Today i have done continuous for runs and it was perfect. The best part was the coupler and shaft modifications was perfect. It runs in water smoothly without the noisy motor sound (earlier there was high motor noise due to misalignment) It runs like a champion and the new speed controlling code was much perfect then before.
Sorry that i was not able to capture some video because the phone was kept at home charging. :)
Comments