eclipse让项目连接服务器失败,"算法协商失败"尝试通过SSH连接到个人Git服务器时Eclipse中的错误...

编程入门 行业动态 更新时间:2024-10-18 08:35:59

eclipse让项目连接<a href=https://www.elefans.com/category/jswz/34/1771423.html style=服务器失败,&#34;算法协商失败&#34;尝试通过SSH连接到个人Git服务器时Eclipse中的错误..."/>

eclipse让项目连接服务器失败,&#34;算法协商失败&#34;尝试通过SSH连接到个人Git服务器时Eclipse中的错误...

我有Eclipse Juno,一台带有Git服务器的Synology Server DS213 +。我试图从我的Git服务器检出项目到我的工作区,当我在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.(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软件中运行良好

更多推荐

eclipse让项目连接服务器失败,&#34;算法协商失败&#34;尝试通过SSH连接到个人Git服务器时Eclipse中的错误...

本文发布于:2024-02-12 01:13:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1684864.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:服务器   连接到   算法   错误   项目

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!