I have a project that I am already working and it was connected on my old pc with SSH, i got a new pc and I want to be able to push to my reposotary i already configured my git with the name and email but when i want to psuh to gitHub i am getting
$ git push
The authenticity of host 'github.com (some ip)' can't be established.
ED343434 key fingerprint is SHA256: somekey.
how to be able to push again to github using the my old key without having to create new repository.
CodePudding user response:
You need to create a new ssh key for every device you use.
To generate the key follow this two-part guide from github: