On WSL2 I was receiving the following error when I was trying to git clone after configure the SSH on Github:
Please make sure you have the correct access rights
and the repository exists.
That's the solution: microsoft/WSL#4698 (comment)
But that has another error:
sudo: ifconfig: command not found
And this is the fix for this: sudo apt-get install net-tools
kiss