Diego Diego - 1 year ago 93
Git Question

how to solve git push fails with two-step authentication (linux)

I'm trying to push some edits from personal proyect to my repository and requires me my username and pass, i write them but the console show me something like:

fatal: authentication failed

I didn't make any mistake writing my username and pass, so I tried to figure out and I think this is for the two-step authentication that i have on my github account. Someone knows how to solve that?, I'll be glad.

Answer Source

Like @NickStoughton mentioned in the comments, SSH is probably the best way to do this.

Here is the fixed version of his link: https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download