-1
I’m trying to push some files to my github, but I started having this problem: When I give the git push -u origin master or git push -u origin main command, the message appears below
sign_and_send_pubkey: Signing failed: agent refused Operation [email protected]: Permission denied (publickey). Fatal: Could not read from remote.
Please make sure you have the correct access Rights and the Repository exists.
I’ve done some digging, all the way up here to see if I can find someone with a similar problem, but I’m still not working on it. Most of the situations I’ve seen are due to the person not having an active SSH key. When I follow the tutorial to check if I already have one (from this site: https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/checking-for-existing-ssh-keys), appears yes. I’ve even added it to my github account from this tutorial https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account. But I still can’t push anything. I’m new to git/github, but I’ve never had problems, especially so far. Could someone help me?