• Icon: Suggestion Suggestion
    • Resolution: Won't Fix
    • None
    • None
    • Gentoo Linux, JDK 1.5, JBoss 4.x / Tomcat 5.5
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Jira does fully implement SSH connectivity with Jsch. See the last few comments on the linked issue.

      If OpenSSH is configured to such that "PasswordAuthentication=no" for security reasons, Jira is unable to connect to the SSH server. This affects CVS integration (and also seems to affect the SVN plugin as well.) This may also be causing problems with key-pair SSH authentication as well.

      Turning the PasswordAuthentication setting off keeps the SSH client from sending the password to the server in cleartext through the negotiated encrypted tunnel, this approach is vulnerable to interception and later brute-force decryption of the tunnel. Turning the setting off causes the SSH client to encrypt the password with the negotiated private key before sending it to the server.

      FYI - When this setting is off, a regular command line SSH client uses the "keyboard-interactive" authentication method instead.

      The problem appears to be in the Jira's use of the Jsch package. I had originally posted this to Jsch's wiki as a potential issue with their library. However, they modified the result with information about how to configure their product to support keyboard-interactive authentication. The information can be found here: http://wiki.jsch.org/index.php?PasswordAuthentication - it looks like a simple fix and they've provided some links to reference code.

      It's also worthwhile to note that Eclipse (both for build-in CVS connectivity and the Subsclipe plugin) uses Jsch and does not have trouble connecting to an SSH server with the PasswordAuthentication setting turned off.

            [JRASERVER-9918] Incomplete SSH integration with Jsch

            edwin added a comment -

            Unfortunately, this is an improvement to our CVS integration that we're not looking at doing in the forseeable future.

            edwin added a comment - Unfortunately, this is an improvement to our CVS integration that we're not looking at doing in the forseeable future.

            I'm sorry that this isn't going to make it into JIRA 3.7. We'll attack all the CVS bugs at once.

            Scott Farquhar added a comment - I'm sorry that this isn't going to make it into JIRA 3.7. We'll attack all the CVS bugs at once.

            Tahnks Erik,

            We look into doing this for 3.7 though we can't promise anything yet.

            Cheers,
            Nick

            Nick Menere [Atlassian] (Inactive) added a comment - Tahnks Erik, We look into doing this for 3.7 though we can't promise anything yet. Cheers, Nick

              Unassigned Unassigned
              d924a6058163 Erik Gustavson
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: