“验证失败”后对话框,现在 Egit 不再询问用户名和密码
我已经使用了一个为我设置的小型 git 存储库一段时间了,我正在使用 EGit 来提交和推送我的更改。 (它不是 github 或类似的东西,只是公共 git 服务器中设置的存储库)
但是,每当我使用 EGit 时,它总是会询问我的用户名和密码(并且我的用户名已经显示,因为它可能已保存)某处,可能在我的推送配置 URI 中)。然后,今天,我输错了密码,EGit 给了我一个“Auth Failed”错误。这显然是预料之中的,但是,每当我再次尝试推送时,EGit 都不会再次询问我的用户名/密码。它直接进入“身份验证失败”错误屏幕。
我尝试对我的推送配置进行一些更改,例如更改协议(最初没有定义协议,然后我尝试了 ssh 和 https)并在该配置屏幕上定义我的用户名和密码,但似乎没有任何效果。
我还尝试重新生成我的 id_rsa 密钥(我不确定我之前是否使用过它们,因为 EGit 总是要求我提供用户名/密码)但无济于事。
我通过在 StackOverflow 中搜索类似的问题来遵循许多可能的解决方案,但没有一个对我有用。
卸载并重新安装EGit插件不起作用。完全删除Eclipse文件夹并从头开始重新安装也不起作用。
所以,基本上,我想要的是 Egit 再次开始询问我的用户名和密码。
有谁知道这种不询问用户名/密码的行为可能是什么原因,以及如何使其再次起作用?
我在 Windows 7 Ultimate x64 上使用 Eclipse Indigo 3.7.1(32 位)以及 Java JDK 6 update 27 32 位和 EGit 1.1.0
谢谢!
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)
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.
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.
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.
I followed lots of possible resolutions by searching similar problems here in StackOverflow but none of them worked for me.
Uninstalling and reinstalling EGit plug-in did not work. Completely deleting the Eclipse folder and reinstalling it from scratch didn't work either.
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?
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
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
找到了如何解决这个问题。
结果 Eclipse 已将我输入错误的密码记录在其安全存储中。我所要做的就是修复它:
Found out how to fix this.
Turns out Eclipse had recorded my mistyped password inside its Secure Storage. All I had to do was to fix it was: