git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Feature Request Google Authenticator Support

From
Scott Chacon <schacon@gmail.com>
Date
Jan 30, 2014, 17:38 UTC
Message-ID
<CAP2yMaKDn2bqKy8SzXj5QXXHVPwVMFDFQmn8auSMLbyF5PFUBQ@mail.gmail.com>
In-Reply-To
<CABPQNSZmvPH-J=r57_WNjq3WOS7m8dGyrj0Y84etF+8aGAMSiA@mail.gmail.com>
Hey,
On Thu, Jan 30, 2014 at 6:28 AM, Erik Faye-Lund <kusmabite@gmail.com> wrote:
Show 16 quoted lines
> On Thu, Jan 30, 2014 at 5:07 AM, Max Rahm <ac90b671@gmail.com> wrote:
>> Github supports google authenticator 2-step authentication. I enabled it
>> and how can't figure out how to connect to my github account through git.
>> I've looked pretty hard in the man pages and on google and can't seem to
>> find anything on how to set up git to work with a repository with 2-step
>> verification. Here's a link to my stackoverflow question with my exact
>> problem if there's something I'm missing.
>>
>> http://stackoverflow.com/questions/21447137/git-github-not-working-with-google-authenticator-osx
>>
>> As far as I can tell the feature is not supported. I'd like to be able to
>> use the 2-step authentication but obviously I'd like to be able to push my
>> code :D
>
> This sounds like a question for the GitHub support rather than the Git
> community.

Erik is right, for any GitHub questions, emailing support@github.com is way better than using this list. The answer to your question, however, is that you have to use a personal access token:

https://help.github.com/articles/providing-your-2fa-security-code#through-the-command-line

You can generate one from this page, in the "Personal Access Tokens" section: https://github.com/settings/applications

Thanks!
Previous: Jakub Narębski
Message 5 of 5 in “Feature Request Google Authenticator Support”
  1. Max RahmJan 30, 2014
  2. Andrew ArdillJan 30, 2014
  3. Erik Faye-LundJan 30, 2014
  4. Jakub NarębskiJan 30, 2014
  5. Scott ChaconJan 30, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.