Permission denied (publickey).
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 email@example.com
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).