I am using WSL (windows subsystem for linux) and the already configured public-key in GitHub for my local machine is not recognized when running the following command:
git clone [email protected]:<my_username>/<repo_name>.git
I get the permission denied message:
Cloning into 'CV'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The repository exists and the keys are stored like ~/.ssh/id_<custom_name>.pub
.
I am expecting with my already generated ssh keys and configured ssh connection in Github could clone my repo into my local-system.