Re:Add two-factor authentication to your ssh in 30 seconds
by bithive123 on Tuesday August 28, 2012 @02:31PM
(#4445134)
I wrote a Sinatra app to act as a Google Authenticator backend for our FreeRADIUS instance as well as our web SSO. It also handles enrollment via generating QR codes:
http://it.isevil.org/blog/2011/11/13/authentication-service-...
Code: https://github.com/bithive/example-totp-vault
For FreeRADIUS we use rlm_perl to define our own authenticate() method; it just calls the web service to validate the codes.
Re:Add two-factor authentication to your ssh in 30 seconds
by mryan on Tuesday August 28, 2012 @02:50PM
(#4445236)
Neat solution, thanks for sharing.
Re:Add two-factor authentication to your ssh in 30 seconds
by seanponeil on Tuesday August 28, 2012 @02:41PM
(#4445181)
I can't speak for Google Authenticator but Duo works great with RADIUS http://www.duosecurity.com/docs/radius
Off-topic: Has anyone ever managed to get PAM/Google Authenticator working with RADIUS? I spent a while messing about with this last year, and never got it working exactly as I had hoped. I'm no longer working with RADIUS, but this post reminded me I never finished scratching that geeky itch.