Report this

What is the reason for this report?

How i Setup DigitalOcean and BitBucket SSH

Posted on June 17, 2015

Hello, I´m having a problem to setup my droplet with git, I´m using bitbucket, and i´m trying to connect with SSH, I generate a SSH Key that I use to conect from my computer to the droplet. I Put the same key in the bitbucket site, but when I try to connect using ssh git@bitbucket.org the output is Permission denied (publickey).

I follow this tutorial (https://www.digitalocean.com/community/tutorials/ssh-essentials-working-with-ssh-servers-clients-and-keys) and i did not have success again.

Please, somebody can help me with this? I Asked the Digital Ocean Support Too.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

try to clone over https - it worked for me. git clone https://user@bitbucket.org/user/repo.git

@plazari I’m having trouble as well. Can you share your solution?

@verron or @wesleyggarlock - Did you figure this out?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.