Skip to content

Instantly share code, notes, and snippets.

@julianfrank
Created July 20, 2022 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julianfrank/cf4487a66d7e82d670c8dba899331ea4 to your computer and use it in GitHub Desktop.
Save julianfrank/cf4487a66d7e82d670c8dba899331ea4 to your computer and use it in GitHub Desktop.
Making GIT work in wsl2
//Move all the certificated from windows .ssh (/mnt/c/Users/<username>/.ssh)folder to ~/ssh
sudo chmod 600 ~/.ssh/id_ed25519
sudo chmod 600 ~/.ssh/id_ed25519.pub
sudo chmod 644 ~/.ssh/known_hosts
sudo chmod 755 ~/.ssh
//git should wowrk now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment