SSH: Two Factor Authentication

Posted by Pierre on Server Fault See other posts from Server Fault or by Pierre
Published on 2012-07-20T03:17:59Z Indexed on 2012/09/08 3:39 UTC
Read the original article Hit count: 583

I currently have a Ubuntu Server 12.04 running OpenSSH along with Samba and a few other services. At the current time I have public key authentication set up, and I'm wondering if it's possible to set up two factor authentication? I've been looking at Google Authenticator which I currently use with my Gmail account.

I've found a PAM module that looks like it will be compatible however it seems that you are forced to use a password and the code generated.

I'm wondering if there is a way to use the Google Authenticator Application (or something similar) along with my public key to authenticate into my SSH server?

© Server Fault or respective owner

Related posts about ssh

Related posts about authentication