gpt4 book ai didi

eclipse - 尝试通过SSH连接到个人Git服务器时,Eclipse中的“Algorithm negotiation fail”错误

转载 作者:行者123 更新时间:2023-12-02 14:12:27 30 4
gpt4 key购买 nike

我有Eclipse Juno,这是带有Git服务器的Synology Server DS213 +。我试图将项目从Git Server checkout 到工作区,并且在Eclipse中使用EGit时出现以下错误:

org.eclipse.jgit.api.errors.TransportException: ssh://[route]/volume1/Git/project.git: Algorithm negotiation fail
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:223)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:99)
at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:324)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.jgit.errors.TransportException: ssh://[route]/volume1/Git/project.git: Algorithm negotiation fail
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:159)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:136)
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:262)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:161)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:202)
... 4 more
Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail
at com.jcraft.jsch.Session.receive_kexinit(Session.java:583)
at com.jcraft.jsch.Session.connect(Session.java:320)
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)
... 8 more

[route]是正确的,并且在其他git软件中也可以正常工作

最佳答案

我找到了带有解决方案的博客:

http://blog.millard.org/2014/11/repair-synology-dsm51-for-use-as-linux.html

使用WinSCP http://winscp.net/eng/download.php,我修改了sshd_config并在Synology的“控制面板”中重新启动ssh。

关于eclipse - 尝试通过SSH连接到个人Git服务器时,Eclipse中的“Algorithm negotiation fail”错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29797017/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com