gitsshkeybitbucketpublic

Bitbucket Permission denied (publickey). but works with ssh


Hello, if i try to connect with bitbucket.org using ssh

ssh -vT git@bitbucket.org

Everything works fine

debug1: Authentication succeeded (publickey).

But if i try to use the git clone command i recive this message:

Permission denied (publickey).
fatal: The remote end hung up unexpectedly

Some extra information:


Solution

  • I was able to make this work, but there was multiple problems with my git implementation:

    I hope this helps someone with the same problem i had.