News for hackers. Stuff that matters.
Re:Two-Factor Authentication with SSH by helper on Friday June 26, 2015 @01:45PM (#9786452)
We've been using Duo Security for two factor ssh auth[0] for a number of years. Its quite easy to setup and gives you push notifications to your phone. Its awesome.

[0]: https://www.duosecurity.com/docs/duounix

Re:Two-Factor Authentication with SSH by teraflop on Friday June 26, 2015 @04:20PM (#9787484)
Duo's PAM module arguably violates the "MFA is only useful, if all parts of it can be enforced server-side!" principle from this blog post. The authentication does happen on a server, but it's a server controlled by Duo, not by you. The PAM module simply makes an API request and authorizes a user iff Duo says they should be authorized.

(Hopefully you'll have configured things so that Duo's approval and a password are both required for login, so this isn't a catastrophic break in security, but it's still a little worrying. And what about when your Internet connection, or Duo's, is having problems? As I write this comment, HTTPS connections to www.duosecurity.com are throwing errors because they've installed a certificate for *.test.duosecurity.com. [1])

I prefer Google's pam_google_authenticator module. Like the Android/iOS app, it doesn't have any external service dependencies; all it assumes is reasonable clock synchrony.

[1]: https://www.ssllabs.com/ssltest/analyze.html?d=www.duosecuri...

Re:Two-Factor Authentication with SSH by sterlingduo on Friday June 26, 2015 @08:28PM (#9788515)
Sterling Windmill from Duo Security here. We experienced a brief issue today resulting from the deployment of an incorrect SSL certificate to our public website. One benefit of the conscious decision to segregate our public website from other services is that this event had no impact on end user authentication. Feel free to reach out to [email protected] with any questions regarding this or anything else!
Re:Two-Factor Authentication with SSH by jaryd on Friday June 26, 2015 @02:37PM (#9786794)
The push notifications and tap to accept (no transcribing 6 digit codes!) is game changing. +1 for Duo!
Re:Two-Factor Authentication with SSH by uN8yahg on Friday June 26, 2015 @05:18PM (#9787811)
Hi. I live in a dangerous city. What if I lost my phone?
Re:Two-Factor Authentication with SSH by JupiterMoon on Friday June 26, 2015 @05:27PM (#9787853)
Encrypt it? Don't store credentials on it unless you really need to? Make rotating keys and passwords easy in the event of losing it?
Re:Two-Factor Authentication with SSH by chrisper on Saturday June 27, 2015 @12:40AM (#9789137)
You can disable the phone in the Duo Admin Portal.