Skip to content

Instantly share code, notes, and snippets.

@GiovanniGrieco
Created February 17, 2021 09:31
Show Gist options
  • Save GiovanniGrieco/412fb35a1f3644c0f1098ca75c58f869 to your computer and use it in GitHub Desktop.
Save GiovanniGrieco/412fb35a1f3644c0f1098ca75c58f869 to your computer and use it in GitHub Desktop.
  1. Write into /etc/wsl.conf
[automount]
options = "metadata"
  1. Restart WSL (Go to powershell and write wsl --shutdown, then reopen WSL2 terminal)
  2. Execute these commands below:
$ cd ~/
$ ln -s /mnt/c/Users/<your_windows_username>/.ssh .ssh
$ chmod 600 .ssh/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment