Google Authenticator as a second factor authentication

Google Authenticator as a second factor authentication


Description

In this post I would like to share another a solution (in my previous post I was talking about DUO - https://duo.com) that can be used as a second  factor authentication.

In this moment on the market there are a few solutions that are doing the same thing, but Goggle Authenticator is pretty easy to install and manage and the best part in my opinion related to this product is the fact that it doesn't need any server to be synchronized with.

 Explanation

- I'll show you how to install Google Authenticator and use it in a Linux like system.

- In this post I'll show you how Google Authenticator can be integrated with  openssh, but the library can be used in conjunction with Ldap too for example. This part will be covered in another post.

-  I'm using Google Authenticator (the application installed on my phone) for authenticating into all my accounts (gmail, outlook, amazon, wordpress) and it didn't failed.

- I'm using Google Authenticator library and Google Authenticator application  for ssh authentication into some important systems that are exposed to the Internet and works great. It can be used in conjunction with fail2ban that I described it in my privious post (https://dscsti.ro/fail2ban/) for avoiding a brute force attack against you server.

Implementation

Author: techwritter