Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-327

Upgrade JCraft to v0.1.44-1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0, 2.0
    • Component/s: wagon-ssh
    • Labels:
      None

      Description

      My provider HostGator.com update OpenSSH to latest version and when I try connect via scp I get an error;
      Caused by: org.apache.maven.wagon.authentication.AuthenticationException: Cannot connect. Reason: Algorithm negotiation fail
      at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnectionInternal(AbstractJschWagon.java:264)
      at org.apache.maven.wagon.AbstractWagon.openConnection(AbstractWagon.java:105)
      at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207)
      at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:142)
      at org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:184)
      ... 19 more
      Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail
      at com.jcraft.jsch.Session.receive_kexinit(Session.java:506)
      at com.jcraft.jsch.Session.connect(Session.java:285)
      at com.jcraft.jsch.Session.connect(Session.java:149)
      at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnectionInternal(AbstractJschWagon.java:236)
      ... 23 more

      This errro exist because Maven 2.2.0 used JCraft v0.1.38.
      I manually replace old version of JCraft to latest v0.1.42 and now all work fine.

        Attachments

        1. wagon-ssh.patch
          0.5 kB
          Thorsten Scherler
        2. wagon-ssh.patch-v2
          0.5 kB
          Thorsten Scherler

          Issue Links

            Activity

              People

              • Assignee:
                brettporter Brett Porter
                Reporter:
                serg_main@yahoo.com Sergei Maslyukov
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: