Issue #9920 resolved

Permission denied (publickey).

Stella Miranda
created an issue

I had to create one ssh key for my account and other for deployment because it didn't allow me to add the same key in both sides,

I run ssh -T git@bitbucket.org

And I got this

logged in as stellamiranda. You can use git or hg to connect to Bitbucket. Shell access is disabled.

But still it doesn't allow me to deploy my code, I'm getting Permission denied (publickey).

Comments (7)

  1. Abhin Chhabra [Atlassian] staff

    Hi Stella Miranda,

    This can happen due to a variety of reasons such as 1) your public key not loaded in your Bitbucket account 2) your key not loaded onto your ssh-agent etc.

    This document does a good job of walking you through the process of troubleshooting your problems. There is a specific section for the Permission denied (publickkey) error as well that you might find useful.

    Please mark this issue as resolved if the document helps you out. If you still have issues, please feel free to comment on this issue further.

  2. gclaborn

    lack of activity sounds more like 'unresolved'. that's a horrible reason to mark something resolved.

    if anything dont lie and mark it 'ignored'

  3. Log in to comment