SSH access is always critical and you might want to find ways to improve the security of your SSH login. In this article we will see how we can secure SSH with simple two factor authentication by using Google Authenticator. Before using it you have to integrate the SSH daemon on your server with Google Authenticator one time password protocol TOTP and another restriction is that you must have your android phone with you all the time or at least the time you want SSH access. This tutorials is written for CentOS 7.
Original URL: https://www.howtoforge.com/tutorial/secure-ssh-with-google-authenticator-on-centos-7/