# Feature Request Google Authenticator Support

5 messages from 2014-01-30 to 2014-01-30. Participants: Max Rahm, Andrew Ardill, Erik Faye-Lund, Jakub Narębski, Scott Chacon.
Thread: https://gitlist.dev/t/35763

## Max Rahm, 2014-01-30 04:07

Subject: Feature Request Google Authenticator Support
Message-ID: <20140130040702.GA77226@gmail.com>
URL: https://gitlist.dev/e/20140130040702.GA77226%40gmail.com

```
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

Thanks in advance,
Max Rahm

--
:wq

```

## Andrew Ardill, 2014-01-30 04:18

Subject: Re: Feature Request Google Authenticator Support
Message-ID: <CAH5451k9Urx+OSPZx33AFzqRcKeWJOM_rkHe3NVuS2CP6eNaZg@mail.gmail.com>
URL: https://gitlist.dev/e/CAH5451k9Urx%2BOSPZx33AFzqRcKeWJOM_rkHe3NVuS2CP6eNaZg%40mail.gmail.com
In-Reply-To: <20140130040702.GA77226@gmail.com>

```
On 30 January 2014 15:07, 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

I was under the impression that private key authentication worked
regardless of two-factor authentication. Is using git over ssh an
option for you?

Regards,

Andrew Ardill

```

## Erik Faye-Lund, 2014-01-30 14:28

Subject: Re: Feature Request Google Authenticator Support
Message-ID: <CABPQNSZmvPH-J=r57_WNjq3WOS7m8dGyrj0Y84etF+8aGAMSiA@mail.gmail.com>
URL: https://gitlist.dev/e/CABPQNSZmvPH-J%3Dr57_WNjq3WOS7m8dGyrj0Y84etF%2B8aGAMSiA%40mail.gmail.com
In-Reply-To: <20140130040702.GA77226@gmail.com>

```
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.

```

## Jakub Narębski, 2014-01-30 17:22

Subject: Re: Feature Request Google Authenticator Support
Message-ID: <52EA8A59.1030801@gmail.com>
URL: https://gitlist.dev/e/52EA8A59.1030801%40gmail.com
In-Reply-To: <CABPQNSZmvPH-J=r57_WNjq3WOS7m8dGyrj0Y84etF+8aGAMSiA@mail.gmail.com>

```
On Thu, 2014-01-30, Erik Faye-Lund wrote:
> 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.

Especially that Git prides itself that it does not do authenthication,
but passes it to appropriate programs, SSH or web server (HTTP).

Own git:// protocol is unathenthicated.
-- 
Jakub Narębski

```

## Scott Chacon, 2014-01-30 17:38

Subject: Re: Feature Request Google Authenticator Support
Message-ID: <CAP2yMaKDn2bqKy8SzXj5QXXHVPwVMFDFQmn8auSMLbyF5PFUBQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAP2yMaKDn2bqKy8SzXj5QXXHVPwVMFDFQmn8auSMLbyF5PFUBQ%40mail.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:
> 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!

```
