I try to clone a repo from a brand new Windows Install with wsl (Ubuntu 20.04). What I did : generate SSH key and add public key to both github and framagit. Tried
ssh -i -T git@github.com
And
ssh -i -T git@framagit.org
Both of them saied "Hello my pseudo, you're authentified"
But when I try to clone I have the following : Without sudo :
Cloning into 'testaaa'...
error: chmod on /mnt/d/dev/dev/testaaa/.git/config.lock failed: Operation not permitted
fatal: could not set 'core.filemode' to 'false'
With sudo :
Cloning into 'testaaa'...
ssh: connect to host framagit.org port 22: Network is unreachable
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
What can I do to solve my issue?