Is it possible to use the same ssh key created on my local machine that I used to connect with my server, on my server to use it to connect to my github repository, if it is can I know how please because I had browse the internet and askubuntu similar questions and answer none seems to answer my question and solve my problem and when I created a different ssh key on my server and added it to my git repo and tried to clone my repo on my local machine I was getting the error
Cloning into 'Black-Anthem-Ltd-Website'...
[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.
so please how can I go about cloning my git repo successfully using the ssh key I created on my local machine or how can i give my local machine permission to have access to the ssh public key, the key on the server and the key on my local machine both have the same file name. I'm using ubuntu on Windows Subsystem Linux.