【发布时间】:2021-03-22 23:46:12
【问题描述】:
在最近的 Eclipse 更新 2021-03 之后,所有 bitbucket.org 存储库都无法再拉/推:
Pulling 1 repository
git@bitbucket.org:Acountxxx/Repoxxx.git: Cannot log in at bitbucket.org:22
git@bitbucket.org:Acountxxx/Repoxxx.git: Cannot log in at bitbucket.org:22
我尝试在新的工作空间中克隆存储库,同样使用 ssh:
URI:ssh://bitbucket.org/REPOxxxx.git
主办方:bitbucket.org
存储库路径:REPOxxxxx.git
协议:ssh
端口:空白
用户:空白
密码:空白
遇到同样的异常:
ssh://bitbucket.org:Acountxxx/Repoxxx.git: Cannot log in at bitbucket.org:22
CMD git pull 或 git push 仍然可以正常工作。
有没有人遇到同样的问题并找到了解决方案?
环境:
视窗 10
git 版本 2.30.1.windows.1
日食 2021-03
EGit:5.11.0.202103091610-r
EDIT:也很有趣,其他存储库,例如从 github 仍然可以正常工作。对于 bitbucket 上的私有和公共存储库,此行为是相同的。
【问题讨论】:
-
哪个 EGit/JGit 版本?您的私钥是否在 General > Network Connections > SSH2 的首选项中配置?还是设置了环境变量
GIT_SSH?新的工作空间有用吗? -
添加了更多信息。 GIT_SSH 未设置,但在存储库工作时也未设置预更新。新的工作空间也不起作用。
-
感谢您接受我的回答,但您详细的自我回答可能对其他人更有帮助,因此应显示在顶部。
标签: git eclipse ssh bitbucket egit