尝试克隆项目时出现Netbeans + GIT错误“算法协商失败”

时间:2016-04-29 23:43:09

标签: git netbeans

我有一个git存储库。

我知道它有效,因为我通过从cygwin终端克隆存储库来测试它:

git clone git@frojasg1.com:/home/git/proyectos/chessPDF_browser.git directorio.pj

我尝试使用Netbeans克隆GIT存储库,使用下一个数据:

存储库网址:frojasg1.com:/home/git/proyectos/chessPDF_browser.git
用户:git
我在Netbeans中使用了 cygwin私钥文件

但我有下一个错误:

  

在frojasg1.com:/home/git/proyectos/chessPDF_browser.git不正确的凭证存储库

有关如何使用Netbeans克隆存储库的任何想法?

作为附加信息,netbeans在 ... / var / log / messages.log 文件中记录的错误:

com.jcraft.jsch.JSchException: Algorithm negotiation fail
    at com.jcraft.jsch.Session.receive_kexinit(Session.java:559)
    at com.jcraft.jsch.Session.connect(Session.java:299)
    at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)
Caused: org.eclipse.jgit.errors.TransportException: git@frojasg1.com:/home/git/proyectos/chessPDF_browser.git: Algorithm negotiation fail
    at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:159)
    at org.netbeans.libs.git.jgit.JGitSshSessionFactory.getSession(JGitSshSessionFactory.java:125)
    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.netbeans.libs.git.jgit.commands.ListRemoteObjectsCommand.runTransportCommand(ListRemoteObjectsCommand.java:74)
Caused: org.netbeans.libs.git.GitException$AuthorizationException: git@frojasg1.com:/home/git/proyectos/chessPDF_browser.git: Algorithm negotiation fail
    at org.netbeans.libs.git.jgit.commands.TransportCommand.handleException(TransportCommand.java:256)
    at org.netbeans.libs.git.jgit.commands.ListRemoteObjectsCommand.runTransportCommand(ListRemoteObjectsCommand.java:87)
    at org.netbeans.libs.git.jgit.commands.TransportCommand.run(TransportCommand.java:191)
    at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:80)
    at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:77)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:77)
    at org.netbeans.libs.git.GitClient.listRemoteBranches(GitClient.java:861)
    at org.netbeans.modules.git.client.GitClient$35.call(GitClient.java:589)
    at org.netbeans.modules.git.client.GitClient$35.call(GitClient.java:585)
    at org.openide.util.NetworkSettings.suppressAuthenticationDialog(NetworkSettings.java:140)
    at org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1.call(GitClient.java:885)
    at org.netbeans.modules.git.client.GitClient$CommandInvoker$1.call(GitClient.java:906)
    at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethodIntern(GitClient.java:918)
    at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethod(GitClient.java:851)
    at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethod(GitClient.java:829)
    at org.netbeans.modules.git.client.GitClient$CommandInvoker.access$400(GitClient.java:823)
    at org.netbeans.modules.git.client.GitClient.listRemoteBranches(GitClient.java:585)
[catch] at org.netbeans.modules.git.ui.clone.RepositoryStep$RepositoryStepProgressSupport.perform(RepositoryStep.java:325)
    at org.netbeans.modules.git.client.GitProgressSupport.performIntern(GitProgressSupport.java:114)
    at org.netbeans.modules.git.client.GitProgressSupport.run(GitProgressSupport.java:107)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

0 个答案:

没有答案