Skip to content

Instantly share code, notes, and snippets.

@windoze
Created May 4, 2024 17:34
Show Gist options
  • Save windoze/d554da35aca9ce04355b30e0599d970f to your computer and use it in GitHub Desktop.
Save windoze/d554da35aca9ce04355b30e0599d970f to your computer and use it in GitHub Desktop.
Share `.ssh` between windows and wsl2
# `.ssh` must not be readable or writable by others
# Run `apt install bindfs` first
/mnt/c/Users/UserName/.ssh /home/wsluser/.ssh fuse.bindfs defaults,force-user=wsluser,perms=0000:u+rwD 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment