Skip to content

Instantly share code, notes, and snippets.

@julianfrank
Created July 20, 2022 15:33
Show Gist options
  • Select an option

  • Save julianfrank/cf4487a66d7e82d670c8dba899331ea4 to your computer and use it in GitHub Desktop.

Select an option

Save julianfrank/cf4487a66d7e82d670c8dba899331ea4 to your computer and use it in GitHub Desktop.

Revisions

  1. julianfrank created this gist Jul 20, 2022.
    8 changes: 8 additions & 0 deletions gitInWSL2.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    //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