Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
2-Factor auth does not work #412
2-Factor auth when using SSH + google authenticator lib does not work with paramiko. Password logins are disabled.
I reckon getting Fabric some tests that pull Paramiko's 2FA strings could be a good way to enforce that this part of the functionality works. Not sure if that'll happen before or after Fab 2.0.
As I mentioned in that ticket, paramiko definitely has "support" for 2FA in its auth handling subroutines, but whether they function at this point in time seems questionable.
@iwais do you have an example of exactly how you've got google auth set up? It's not a tech I have personally used before.
You need to add
and you need to remove
referenced this issue
Feb 27, 2015
@perryjrandall Your changes do work for me when using duo for 2 factor authentication at work and MySQL Workbench's SSH tunnel feature to connect to MySQL servers.
What are the changes we can make Perry's changes production ready and merge them? I'd be willing to do some of the work if necessary.