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

Bump jsch to fix "Algorithm negotiation failed"

    Details

    • Similar Issues:

      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

          Hide
          eduardov79 Pedro Villanueva added a comment -


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

          Show
          eduardov79 Pedro Villanueva added a comment - I have the same issue in Gentoo. Bumping the Jsch dependency solves the problem
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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

            People

            • Assignee:
              bap bap
              Reporter:
              egore911 Christoph B
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: