Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » After upgrade to 2021-03 I cannot log in anymore using ssh
After upgrade to 2021-03 I cannot log in anymore using ssh [message #1839431] Sun, 21 March 2021 10:42 Go to next message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 261
Registered: July 2009
Senior Member
Hi,

After the upgrade to 2021-03 I cannot log in anymore using ssh. The message is "ssh://git@bitbucket.aimsites.nl:7999/esdd/wor-robots-dictaat.git: Cannot log in at bitbucket.aimsites.nl:7999". Using the command line git tools everything works just fine.

Is there a solution for this?


eclipse.buildId=4.19.0.I20210303-1800
java.version=15.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product -data /home/jkr/HAN/Workspaces/WoR

org.eclipse.egit.core
Error
Sun Mar 21 11:30:00 CET 2021
ssh://git@bitbucket.aimsites.nl:7999/esdd/wor-robots-dictaat.git: Cannot log in at bitbucket.aimsites.nl:7999

org.eclipse.jgit.api.errors.TransportException: ssh://git@bitbucket.aimsites.nl:7999/esdd/wor-robots-dictaat.git: Cannot log in at bitbucket.aimsites.nl:7999
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:224)
at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:263)
at org.eclipse.egit.core.op.PullOperation$PullJob.run(PullOperation.java:255)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.eclipse.jgit.errors.TransportException: ssh://git@bitbucket.aimsites.nl:7999/esdd/wor-robots-dictaat.git: Cannot log in at bitbucket.aimsites.nl:7999
at org.eclipse.jgit.transport.sshd.SshdSession.connect(SshdSession.java:174)
at org.eclipse.jgit.transport.sshd.SshdSession.connect(SshdSession.java:99)
at org.eclipse.jgit.transport.sshd.SshdSessionFactory.getSession(SshdSessionFactory.java:235)
at org.eclipse.jgit.transport.sshd.SshdSessionFactory.getSession(SshdSessionFactory.java:1)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:107)
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:281)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:153)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:142)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:94)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1309)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:213)
... 3 more
Caused by: org.apache.sshd.common.SshException: No more authentication methods available
at org.apache.sshd.common.future.AbstractSshFuture.verifyResult(AbstractSshFuture.java:126)
at org.apache.sshd.client.future.DefaultAuthFuture.verify(DefaultAuthFuture.java:39)
at org.apache.sshd.client.future.DefaultAuthFuture.verify(DefaultAuthFuture.java:32)
at org.apache.sshd.common.future.VerifiableFuture.verify(VerifiableFuture.java:68)
at org.eclipse.jgit.transport.sshd.SshdSession.connect(SshdSession.java:164)
... 13 more
Caused by: org.apache.sshd.common.SshException: No more authentication methods available
at org.apache.sshd.client.session.ClientUserAuthService.tryNext(ClientUserAuthService.java:342)
at org.apache.sshd.client.session.ClientUserAuthService.processUserAuth(ClientUserAuthService.java:277)
at org.apache.sshd.client.session.ClientUserAuthService.process(ClientUserAuthService.java:224)
at org.apache.sshd.common.session.helpers.AbstractSession.doHandleMessage(AbstractSession.java:502)
at org.apache.sshd.common.session.helpers.AbstractSession.handleMessage(AbstractSession.java:428)
at org.apache.sshd.common.session.helpers.AbstractSession.decode(AbstractSession.java:1463)
at org.apache.sshd.common.session.helpers.AbstractSession.messageReceived(AbstractSession.java:388)
at org.eclipse.jgit.internal.transport.sshd.JGitClientSession.messageReceived(JGitClientSession.java:197)
at org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:64)
at org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:358)
at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:335)
at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:332)
at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$completed$0(Nio2CompletionHandler.java:38)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:37)
at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)


TIA


Cheers,

Joost
Re: After upgrade to 2021-03 I cannot log in anymore using ssh [message #1839435 is a reply to message #1839431] Sun, 21 March 2021 11:34 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 363
Registered: August 2016
Senior Member
This is bug 572056, caused by a problem in the Apache MINA sshd library JGit uses. It affects ssh connections with RSA keys to an old server.

We're in the process of putting together a patch release of JGit that will work around this problem. Until then, the known work-arounds are documented in the "New & Noteworthy" page for EGit.

We've also provided upstream fixes for the Apache MINA sshd library, but that library has a release cycle independent of JGit.

[Updated on: Sun, 21 March 2021 11:35]

Report message to a moderator

[Solved] Re: After upgrade to 2021-03 I cannot log in anymore using ssh [message #1839436 is a reply to message #1839435] Sun, 21 March 2021 12:53 Go to previous message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 261
Registered: July 2009
Senior Member
OK, thanks. "export GIT_SSH=/usr/bin/ssh" solved the problem.

Cheers,

Joost
Previous Topic:Unable to tell when a file has changed
Next Topic:Merge Tool showing a blank window
Goto Forum:
  


Current Time: Tue Jun 15 08:49:17 GMT 2021

Powered by FUDForum. Page generated in 0.01565 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top