By housniy
Hi, I have a very basic droplet setup. No firewalls or any sort of security measures are set up. It’s virtually open.
Cloning into ‘li3_uploadable’… Permission denied (publickey). fatal: Could not read from remote repository.
‘li3_uploadable’ is a public repo. I know this because I own it. Besides, I have this issue with all the other Github repos.
I asked Digitalocean support but they were unable to help me. Any ideas on what’s going on?
Thanks.
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!
I observed the same issue : Below steps worked for me From Terminal - > Type ssh-add -l If the output is :The agent has no identities.
Enter: ssh-add ~/.ssh/id_rsa
This command should add your keys to the local ssh-agent. Once it is been added , Try git clone <git@github.com__repo_path__>
I had SSH setup correctly and still got this error. The problem was not SSH, but simply folder permissions. The folder I was trying to clone into was owned by the root user (check this using ls -l), and using sudo is not valid when cloning a git repo. I had to change the folder to be owned by my user, like this: sudo chown -R $USER:$USER <path_to_folder>
I am experiencing this same issue and I have added my public key on Github.
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.