Tuesday, August 7, 2012

Two factor Authentication on Fedora 17

It turns out that adding an extra level of security to fedora 17 is quite easy.

The google-authenticator PAM module is easily installed via yum.  Once installed, you simply have to edit the /etc/pam.d/sshd configuration to require the pam module as per the instructions located here.

As the user you wish to use two-factor authentication with, you need to run the google_authenticator bin from the command line.  It will create an address that you can navigate to and take a picture with the google-authenticator app on your andriod device.

Voila, two factor authentication on your sshd!