When I created the SSH key for the git then I face the error
when i running the command
ssh-add ~/.ssh/id_ed25519
of id_ed25519 no such file found.
Solution
1.
change the file name id_rsa.
ssh-add ~/.ssh/id_rsa
2.
For copy the key we follow the given command
clip < ~/.ssh/id_rsa.pub
3.
At last one more command.
Just add Github fingerprint to known hosts this way:
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
then push the project
HAPPY CODING☺☺☺
Top comments (2)
I don't know why you are facing an issue. I'm using id_ed25519 keys for more than a year, and using ssh-add when my agent expires or I reboot.
It simply works as intended
Because when I try to create the ssh key then by mistake i run the ,this given below command by mistake
cmd :- git config --global commit.gpgsign true
and if you know anyother method then help me