GitHub 二次验证收不到短信咋办?

身在天朝,用了国外的代码托管服务,会有些烦恼的。

网速慢就不说了,如果启用了二次验证,短信收不到那就悲催了。

之前的都能收到短信的,突然间尝试了很多天都不行,联系github的客服,几次的答复如下:

 

第一封邮件发给Github

Hi,

When I login , after input username and password, need input Authentication Code, I input it, show [Two-factor Authentication failed]

I click [Re-send the code],  but this page is 404 as follow:

I can’t login for several days, please help me quickly!

My username in GitHub is “*******”.

clip_image002

 

回复:

Hi Kang,

The 404 sounds like a Javascript error.

Can you try updating Chrome to the current release and double checking that Javascript is enabled in your browser settings?

Instructions for enabling JS can be found here:

http://enable-javascript.com/#chrome

Cheers,

John

既然这么说,咱换成IE吧,居然不提示404,那就这么滴吧,可是还收不到短信。

 

第二封邮件

Hi,

Thanks for your kindly support!

I use IE, no 404 error again, show " Your authentication code has been sent. ", but I don't get sms.

My phone number is "+86 xxx" and github username is "xxxx".

BTW, at 2/17/2014 , I got sms about two-factor authentication code successfully, but can't get sms now and phone number is same.

回复:

The authentication codes are being sent out, but we do hear sporadic reports of codes being delayed or dropped by Chinese carriers.

Do you have the two-factor authentication recovery codes for your account? They were presented to you when you first enabled 2FA. You should be able to user one of them to regain access to your account by following the "Forgot your phone?" on the 2FA page after entering your username and password

Once you have regained access to your account you might want to consider switching to an OTP authentication application for 2FA. More details are available here:

https://help.github.com/articles/about-two-factor-authentication#configuring-2fa-through-a-mobile-application

Thanks,

John

他说验证码都发了,但是确实受到零星的报告说 短信被丢弃或者被延迟发送了。

然后让我去找那个 二次验证的恢复码,我哪有那玩意啊。

为此我还联系了中国移动,让他们查查发送给我的短信是否被拦截了,态度蛮好的,结果你懂的。

我自己也查看了之前收到的短信号码,发现每次都不一样,有的是是133开头的,属地为浙江某地,还有时候是香港的号码。

一共是十几次,每次短信号码都不一样,这样子搞,能行吗?

 

第三封邮件

Sorry to tell you, I can't find recovery codes, any other way?

Our other member can't receiver sms too.

回复:

Hello kang,

We recommend using one of the 2FA recovery codes you were asked to save when you enabled 2FA on your account.

If you haven't saved your recovery codes in a safe place, you can verify your identity using an SSH key you have added to your account. To do this, please run the following command on the computer where your SSH key exists, and send us the full output:

ssh -T git@github.com verify

If you can verify your identity, we can disable 2FA on your account so you can sign in again.

Sincerely,

Daisuke

人家还是推荐用二次验证的恢复码,我真没有啊。

于是乎,尝试 ssh验证。

第一次总是那么倒霉,不成功啊。

找到了这篇文章,又琢磨了很久

http://rangercyh.blog.51cto.com/1444712/749490

确保网络正常,能fanqiang的就fan一下吧。

 

第四封邮件:

Hi,

Thank you for your kindly support!

>>please run the following command on the computer where your SSH key exists, and send us the full output:

As follow:

E:\Android\github\AndroidLearning [master +9 ~5 -0 !]> ssh -t git@github.com verify

Warning: Permanently added

'[ssh.github.com]:443,[192.30.252.148]:443' (RSA) tothe list of known hosts.

Please provide the following verification token to GitHub Support.

BAh7BzoKbG9naW5JIhB4aWFva2F××××××××××××××××××××××××××××××××××××××××××××××iZg==

Connection to ssh.github.com closed.

 

终于能登录了,扯了好几天,不容易呐。

 

GitHub确实是个好东西,可是有时候真的很无奈。

另外还有一个app验证的方式,没试过,后面再研究一下。

posted @ 2014-03-20 08:56  xiaokang088  阅读(6602)  评论(0编辑  收藏  举报