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

Permission denied (publickey).

    XMLWordPrintable

Details

    Description

      I'm trying to clone a repository using this command:
      {{{
      sudo git clone git@bitbucket.org:ianwalter/slimming-stem.git
      }}}

      I'm getting the following error:
      {{{
      Cloning into slimming-stem...
      Permission denied (publickey).
      fatal: The remote end hung up unexpectedly
      }}}

      The public key under my /home/username/.ssh/id_rsa.pub
      seems to be the same as the one I've added to my account settings so I'm not sure why I'm getting denied.

      Thanks,
      Ian

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: