I know just enough about git to commit / push, but can’t seem to get it to download to DO so I can actually host my project.
I am trying to download from mt git repository. I use bitbucket. I’ve tried every variation og git pull and git clone using my url from bitbucket git@bitbucket.org:user/project.git.
remote: not found fatal: repository ‘git@bitbucket.org:user/project.git’ not found Permission denied (publickey)
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.
Make sure everything is setup correctly on Droplet.
Bitbucket offers you to copy whole command and just execute it. Make sure you do it, so you don’t make typo anywhere.
Looking by
Permission denied (publickey)
, you should haveid_rsa
andid_rsa.pub
in Droplets/home/your-user/.ssh
. That same publickey must be specified in Bitbucket settings. I think you need to copy manually usingscp
orrsync
. First make sure you even have.ssh
directory in your home folder on Droplet. Then exit SSH, and from your local machine usescp
/rsync
to copy keys:Login again to the Droplet and try to clone again.
You can also use HTTPS link, as it doesn’t require you publickey. You should have on Bitbucket option to change between SSH and HTTPS link.