When trying to push live master
i get the following error in my local machine
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have setup ssh keys
i mean created public key, private key and added public key to /.ssh/authorized_keys of server
but still its not happening…
I guess I have made ssh via password login disabled, is that causing teh issue
ssh ubuntu@128.199.165.57 will not work
but however the following command ssh -i ~/.ssh/id_rsa_xyz ubuntu@myhostname works
pls clarify what am i missing
or what should i do to make git use ssh key for authentication when working with digital ocean
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 have been having the exact issue mentioned at the top of this post when I try to git push to the new server. Has anyone been able to solve this on Windows?
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.