i encountered this problem while trying to push to my accountvia terminal, working on a site
and it kept giving me that fatal error "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 tried getting access to another SSH key but still not working.
CodePudding user response:
https://docs.github.com/en/authentication/connecting-to-github-with-ssh This article would help you solve the problem- generate an ssh key and add it to your account, refresh the project both on github and on your command line and run the git command again.
