Skip to main content

Posts

Showing posts from December, 2007

How to setup 2FA On Linux SSH Login

  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

Wana try Rails

I wana try this framework once i get enough time for experiment it. People talk about rails ..i first saw it from fedora and now wana try the bitch. keke Later more updates..........

Almost in AJAX

After few months away from web application developing, i want to experience new technologies. I hope AJAX is well known to all programmers. I guess AJAX is old, because normally we combine PHP, XML etc.. with JavaScript for ages. I have experienced it few times and its really kool using AJAX. These days i am developing an Internal Web based Reservation systems with AJAX included. I think its better to try it and experience the new breeds. There are some frameworks like Prototype which will make easy to use AJAX. Lets rock the multimedia world..yeah...