All was working fine until I let automatic updates run in Spring Tool Suite (Eclipse). One of the updates was to Egit. Now, when I try to pull a repository or interact with any of the team functions, I get the following error:
[email protected]:my-company/my-repo.git: Cannot log in at bitbucket.org:22
I've tried every other solution I can think of and find online, including reverting to my previous configuration before the update, but nothing seems to work. Does anyone have any suggestions as to what the problem might be?
Go to the "Git Repositories" view, open the tree of the repository you want, right-click on "Remotes" and select "Create Remote". Remote name is the alias, and the url is specified in the second step of the wizard. Brilliant. Thanks!
Seems to be a known issue with the recent EGit release in eclipse 2021-03
Known affected git servers: bitbucket.org, AWS Code Commit, Azure DevOps
Work-arounds:
I use the last
$ GIT_SSH=/usr/bin/ssh eclipse
It's probably problem with Eclipse EGit plugin v. 5.11. It is solved in the May nightly build of the plugin. You have to install it, because it is the last version at present time. In Spring Tool Studio (Eclipse) I had to do "Help / Check for updates" in addition to the instructions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With