I was trying to push my first commit on an empty rep to bitbucket. However this:
-git push -u origin --all #to push changes for the first time
Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
So, I tried to sudo it. The result was this:
Warning: Permanently added the RSA host key for IP address '22.214.171.124' 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.
So, why did this happen and should I remove the permanently added RSA host key for that uknown ip address? How?
Also, I don't want to set up a SSH yet, as I prefer work with HTTPS as a beginner.
Hi there, I'm not sure if you're using Windows or Linux, but we have a guide that expains how to get your SSH key setup. We also have a troubleshooting guide. As this error can be the result of a variety of possible issues, I'd recommend going through the guides step-by-step to be sure that your key is
Host bitbucket.org IdentityFile ~/.ssh/my_key_filename
ssh -Tvv firstname.lastname@example.org
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot