This is not a complete guide; merely the main steps I followed.
- Install
sshfs(SSH File System) in your Linux host.
apt install sshfs
- Enable Windows Subsystem for Linux (WSL) in your Windows client.
- Install Ubuntu from the Windows Store.
- Update your WSL installation to WSL 2.
wsl --set-default-version 2
- Copy your SSH keys from the Windows client to WSL.
cp -r /mnt/c/Users/<username>/.ssh ~/.ssh
- Add an
sshfsentry tofstab.
sshfs#<user>@<host>:<directory> <local directory> fuse allow_other,identityfile=/home/<user>/.ssh/id_rsa,defaults 0 0
- Mount your new entry.
-
sudo mount -a -
If errors appear, add the
debugoption before or afterallow_other.
-
Open Explorer and go to
\\wsl$\Ubuntu-20.04\. -
Browse to your mounting directory.

