Created
May 4, 2024 17:34
-
-
Save windoze/d554da35aca9ce04355b30e0599d970f to your computer and use it in GitHub Desktop.
Share `.ssh` between windows and wsl2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# `.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