I have created a public key after I have pasted it on GitHub then I have tried to do git clone
.
But while doing the clone, it is asking for the password:
Did i do anything wrong?
I have created a public key after I have pasted it on GitHub then I have tried to do git clone
.
But while doing the clone, it is asking for the password:
Did i do anything wrong?
First, make sure you have pasted your SSH public key in your User SSH setting page of your local GitHub instance, not github.com
.
Second, test if you are correctly authenticated with:
ssh -Tv git@stg-...github-....local
^^^^^^^^^^^^^^^^^^^^^^^
your local GitHub server name
You should see which key is used, and if yours is selected.