Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10013

git 2.14 Windows client fails over SSH

    XMLWordPrintable

Details

    • Bug
    • Resolution: Tracked Elsewhere
    • Low
    • None
    • 5.2.2
    • None
    • None

    Description

      When attempting to perform any git operation over SSH using the new git 2.14 Windows client, all operations seem to fail:

      C:\Users\admin\Desktop>git clone ssh://git@bitbucketdc:7999/test/testrepo.git
      Cloning into 'testrepo'...
      Bitbucket cannot not execute "git upload-pack '/test/testrepo.git'". The command is not supported as entered.
      
      Ensure you are using a supported SCM, check the syntax and try again.
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      

      The following error appears in atlassian-bitbucket.log:

      atlassian-bitbucket.log
      2017-08-07 06:49:58,250 WARN  [ssh-scm-request-handler] dave @1G0VDW2x409x5335x0 5tzfbx 172.18.0.3 SSH - git upload-pack '/test/testrepo.git' c.a.b.i.ssh.server.SshCommandAdapter git upload-pack '/test/testrepo.git': Command is not supported; no handler is available
      

      Environment

      The server in this example is running git 2.11.2, and Bitbucket Server 5.2.2, via the official Docker repository (atlassian/bitbucket-server).

      Note: this only appears to affect the Windows client; macOS and Linux don't appear to be affected.

      Workaround

      Downgrading to git 2.13 resolves the issue

      Attachments

        Issue Links

          Activity

            People

              behumphreys Ben Humphreys
              dchevell Dave Chevell
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: