后"验证失败"对话框,现在EGit不再要求用户名和密码 [英] After "Auth failed" dialog, now EGit no longer asking for user name and password

查看:250
本文介绍了后"验证失败"对话框,现在EGit不再要求用户名和密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用了一段时间,已设置了一个小型Git仓库为我和我使用EGit承诺,并把我的变化。 (它不是GitHub上或类似的东西,只是一个普通的Git服务器的存储库设置)

I've been using for a while a small git repository that has been set-up for me and I'm using EGit to commit and push my changes. (it's not github or anything like it, just a repository set in a common git server)

但是,每当我使用EGit它总是会问我要我的用户名和密码(和我的用户名就已经显示出来,因为它可能保存的地方,可能是在我的URI推配置)。那么,今天,我输错了密码,并EGit给了我​​一个验证失败的错误。这显然​​预期,但后来,每当我试图再次推,EGit不问我的用户名/密码了。它只是直奔验证失败错误画面。

However, whenever I was using EGit it would always ask me for my username and password (and my username would already show up, as it was probably saved somewhere, probably in my URI for the push configuration). Then, today, I mistyped my password, and EGit gave me a "Auth Failed" error. That's obviously expected, but then, whenever I tried pushing again, EGit does not ask for my Username/Password again. It just goes straight to the "Auth Failed" error screen.

我尝试做了一些改动,以我的推送配置,如更改协议(最初,没有协议的定义,然后我试图SSH和HTTPS),并且配置屏幕上定义我的用户名和密码,但似乎没有任何工作。

I tried making a few changes to my Push configuration, such as changing protocols (initially, no protocol was defined, then I tried ssh and https) and defining my username and password on that configuration screen, but nothing seems to work.

我也试过重新生成我id_rsa钥匙(我真的不知道我以前是用他们,因为EGit总是会问我的用户名/密码)无济于事。

I also tried to regenerate my id_rsa keys (which I'm not really sure I was using them before, since EGit would always ask me for username/password) to no avail.

我跟很多可能的解决方案通过在这里搜索在StackOverflow的类似的问题,但他们没有为我工作。

I followed lots of possible resolutions by searching similar problems here in StackOverflow but none of them worked for me.

卸载并重新安装EGit插件没有工作。彻底删除Eclipse文件夹,并从头开始重新安装它也不能工作。

Uninstalling and reinstalling EGit plug-in did not work. Completely deleting the Eclipse folder and reinstalling it from scratch didn't work either.

所以,基本上,我想要的是EGit再次开始询问我的用户名和密码。

So, basically, what I want is for EGit to start asking for my username and password again.

有没有人有可能是什么原因不要求用户名/密码,这种行为任何想法,以及如何使这项工作了吗?

Does anyone have any idea of what could be the cause for this behavior of not asking username/password, and how do I make that work again?

我使用的Eclipse 3.7.1靛蓝(32位)和Java JDK 6更新27的32位和EGit 1.1.0的Windows 7旗舰版64位

I'm using Eclipse Indigo 3.7.1 (32-bit) with Java JDK 6 update 27 32-bit and EGit 1.1.0 on Windows 7 Ultimate x64

感谢您!

推荐答案

发现了如何解决这个问题。

Found out how to fix this.

原来的Eclipse记录了我的安全存储里面输错密码。我所要做的就是要解决这个问题是:

Turns out Eclipse had recorded my mistyped password inside its Secure Storage. All I had to do was to fix it was:

  • 转到窗口> preferences菜单;
  • 键入在过滤器中的安全存储的preferences窗口的左上方;
  • 选择在左侧列表中的安全存储;
  • 选择内容选项卡;
  • 展开[默认安全贮藏】节点;
  • 删除该节点的混帐条目。

这篇关于后"验证失败"对话框,现在EGit不再要求用户名和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆