Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29360

Bump jsch to fix "Algorithm negotiation failed"

    XMLWordPrintable

Details

    Description

      Recent OpenSSH servers running on ubuntu use the following key exchange algorithms

      KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
      

      When using the current version (1.13) which uses jsch 0.1.45 the plugin will fail with the message "Algorithm negotiation failed". Bumping the dependency to 0.1.53 solves the problem as i.e. diffie-hellman-group-exchange-sha256 was enabled by default in 0.1.51.

      I rebuilt the 1.13 version with jsch 0.1.53 and it works fine on our Jenkins cluster. Please bump this dependency.

      Attachments

        Activity


          I have the same issue in Gentoo. Bumping the Jsch dependency solves the problem

          eduardov79 Pedro Villanueva added a comment - I have the same issue in Gentoo. Bumping the Jsch dependency solves the problem
          rwegmann Raúl Wegmann added a comment -

          We have have the same problem after hardening our SSH server configuration. As mentioned above, updating the jsch dependency to the latest version fixes this problem.

          Please consider merging the following (one line) pull request: https://github.com/jenkinsci/publish-over-ssh-plugin/pull/11

          rwegmann Raúl Wegmann added a comment - We have have the same problem after hardening our SSH server configuration. As mentioned above, updating the jsch dependency to the latest version fixes this problem. Please consider merging the following (one line) pull request: https://github.com/jenkinsci/publish-over-ssh-plugin/pull/11

          Code changed in jenkins
          User: Raúl Wegmann
          Path:
          pom.xml
          http://jenkins-ci.org/commit/publish-over-ssh-plugin/d849fa71693276ab299276445b9794e17ab115e6
          Log:
          [FIXED JENKINS-29360] Updated jsch to 0.1.53

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Raúl Wegmann Path: pom.xml http://jenkins-ci.org/commit/publish-over-ssh-plugin/d849fa71693276ab299276445b9794e17ab115e6 Log: [FIXED JENKINS-29360] Updated jsch to 0.1.53

          Code changed in jenkins
          User: Alex Earl
          Path:
          pom.xml
          http://jenkins-ci.org/commit/publish-over-ssh-plugin/906b3de4552396778a6b0b5cb2ea0b637e19b3a0
          Log:
          Merge pull request #11 from rwegmann/JENKINS-29360

          [FIXED JENKINS-29360] Updated jsch to 0.1.53

          Compare: https://github.com/jenkinsci/publish-over-ssh-plugin/compare/b0bcd4f7a60a...906b3de45523

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Earl Path: pom.xml http://jenkins-ci.org/commit/publish-over-ssh-plugin/906b3de4552396778a6b0b5cb2ea0b637e19b3a0 Log: Merge pull request #11 from rwegmann/ JENKINS-29360 [FIXED JENKINS-29360] Updated jsch to 0.1.53 Compare: https://github.com/jenkinsci/publish-over-ssh-plugin/compare/b0bcd4f7a60a...906b3de45523

          For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues

          Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/157
          And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-29360%22

          (Note: this is an automated bulk comment)

          gmcdonald Gavin McDonald added a comment - For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/157 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-29360%22 (Note: this is an automated bulk comment)

          People

            bap bap
            egore911 Christoph B
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: