Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7168

Everytime after pc restart, i cant fetch or push to a github repo [duplicate]

$
0
0

I added a ssh key to github and was able to fetch and push without any issue. The next day, when i turned on my computer and tried to fetch from github, i get the error

sign_and_send_pubkey: signing failed for ED25519 "/home/vyshnav/.ssh/id_ed25519" from agent: agent refused operationgit@github.com: Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.

I then deleted the key and made a new key and added to github and it worked again. But if i turn off or restart my pc, i get the same errors.

I am using Ubuntu 22.04

I followed this article to connect to github with ssh


Viewing all articles
Browse latest Browse all 7168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>