Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-19209

Cannot access team repositories over SSH

    XMLWordPrintable

Details

    Description

      I have configured a SSH key in my user profile and my user is assigned to a team as admin and developer. I even tried to add my user as an Admin and Developer on a specific team repository but this doesn’t work either. The clone over HTTPS is still working and even the access over SSH is working if I access my private user repositories.

      Locally I have an entry in the ssh config to use a specific SSH key to access. This configuration worked fine in the past but today it suddenly stopped working.

      The Bitbucket part of my SSH config

      Host custom.bitbucket
         User git
         Hostname bitbucket.org
         IdentityFile ~/.ssh/custom
      

      The error when trying to clone:

      $ git clone custom.bitbucket:my-team/my-team-repo.git
      Cloning into 'my-team-repo'...
      Forbidden
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            49c6cd7cc117 Chris Steinmeyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: