S
S
Stanislav Pochepko2015-09-23 18:12:13
GitHub
Stanislav Pochepko, 2015-09-23 18:12:13

How to set up work with gitHub in the PHPStorm console if two-factor authentication is enabled?

Good afternoon. How to set up the console in PHPStorm to work with a gitHub account when two-factor authentication is enabled. Each time he writes that authentication failed, for any action. I understand that I need to somehow generate a key for my computer. I did everything according to the instructions from github, but this did not work. Ubuntu

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2015-09-23
@DJZT

Two-factor authentication only works when you login with a password.
generate a key and add it in the github settings - https://help.github.com/articles/generating-ssh-ke...
if you followed the instructions verbatim, then at this point everything should already work.
if you used a custom file name, you need some magic with .ssh/config - https://gist.github.com/jexchan/2351996
there is another way with a token , but I don't know how it works with ide.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question