If you already own a GitHub account and try to clone from or push to a repository on GitHub you may receive a
1
|
|
error.
This may be the case if you have set up a new machine without having installed your existing ssh key properly.
To do so, just copy your private key to your ~/.ssh
directory and call:
1
|
|
whereas id_rsa
is the name of your ssh key.
Another reason why you fail, may be a missing .config
file in your ~/.ssh
folder.
If this is the case, just create it and paste the following into it:
1 2 3 4 5 6 7 |
|