This is the error I get:
no such identity: /home/eduan/.ssh/id_dsa: No such file or directory no such identity: /home/eduan/.ssh/id_ecdsa: No such file or directory Permission denied (publickey).
What happens when I try to click, or in this case, when I do ssh -T git@github.com .
I generated the id_rsa and id_rsa.pub files correctly.
How can i solve this? I am using Arch Linux with E17 BTW.
EDIT :
Would @kortix do the following for this ?:
Host github.com IdentityFile ~/.ssh/id_rsa
This doesn't seem to work for me ... I get the following when I hit Git:
Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
I made sure that the repo exists, and I also updated the remote URL with git remote set-url origin git@github.com :Greduan/dotfiles.git .
I also added an SSH key to the list of accepted SSH keys on GitHub. What else should I do?
source share