By pmcgeough
I have set up a LAMP application on my droplet
I have used my set DO ssh key which is the same used for my mac and my bitbucket account.
I install git and create a folder at the /var/www level.
CD into the folder and run my git clone command but get the following error
Warning: Permanently added the RSA host key for IP address ‘131.103.20.167’ to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Any ideas how to fix this? *ssh keys not my strong point
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!
Have you checked the documentation over on GitHub (see the link below)?
https://help.github.com/articles/error-permission-denied-publickey/
This is actually a pretty common error and the above link should help you resolve the issue :-).
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.