PAM Modul Google Authenticator on Ubuntu 11.10

SHARE :Share on Google+2Share on Facebook0Tweet about this on Twitter0Share on StumbleUpon0Pin on Pinterest0Share on Reddit0Share on LinkedIn0

PAM module google authenticator

Google has launched an application for the authentication code. Applications is named Google Authenticator can be used for various smartphone platforms.

By using this application you can secure your Google account from hacker attacks, code that frequently changes from your phone with your regular password to use.Only your phone and Google knows that the key needed to generate a sequence of code. It provides two-factor authentication, you need to know your password and have your phone.

Google Authenticator is an open source project, and establish open standards. This project provides a pluggable authentication (module PAM) which allows the authenticator to be used to log into a Linux system with no involvement from Google servers. Now Google Authenticator package is available on server repository ubuntu Oneiric Ocelot

Google Authenticator Package can be directly installed on ubuntu 11.10 Oneiric Ocelot by typing the command on terminal

sudo apt-get install libpam-google-authenticator

How to run and use Google Authenticator, on terminal type


after typing the above command then terminal displays QR code that you can scan using smartphone applications. You will also get some emergency code if you do not have your cell phone.

Now how to activate (PAM module) Google Authenticator for SSH login. you have to do is edit the file /etc/pam.d/sshd,add this line:

auth required

Next, open /etc/ssh/sshd_config,change or add the ChallengeResponseAuthentication line so it reads:

ChallengeResponseAuthentication yes

Restart SSH to make the configuration change take effect:

sudo service ssh restart
via: tombuntu

You may also like...

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.