

So, we will take a look at how this can be enabled within the WSL/WSL2 Linux image. However, most are familiar and used to working with Linux environments and file movement by way of SSH, SCP, SFTP, etc. With that being said, you can certainly copy files from the mounted drive from the Windows 10 host and we will see how that is possible. With WSL2, you can’t see the mounted file system as it is abstracted by way of the transparent Hyper-V utility VM that is used to house the WSL instance. Ways to copy files to Windows Subsystem for Linux WSLīy default, Windows Subsystem for Linux automatically mounts the C$ drive on the Windows 10 host system which allows you to see the files on the local hard drive.

This post will take a look at how to copy files to Windows Subsystem for Linux WSL2 with SSH and see how to configure this. Additionally, if you want to copy files back and forth between environments for development, it is important to be able to do this uninhibited. This is much easier for large file edits and other configurations that lend themselves to a GUI text editor of sorts. This includes copying files both to and from Windows Subsystem for Linux distributions. You may wonder how you can work with files effectively. This is the simple way to upgrade no only WSL running Kali Linux but also other that are full-fledged installed on PC, server, or Virtual Box virtual machine.In working with Windows Subsystem for Linux, you will undoubtedly want to work with files with your WSL Linux distribution. Once the update and upgrade process has been done, check the current version of your system to make sure everything is up to date:.To flush the APT cache and recognizing the added repo, first-run update command and the upgrade one:.Add the Kali rolling release repository using this command:Įcho "deb kali-rolling main non-free contrib" | sudo tee /etc/apt/sources.list.After that first make sure all the available packages over it are up to date.Just go to applications and start this Linux. However, the given steps can also be used for earlier versions. If you are on WSL and running some old version of it, then you can upgrade it to the latest version using the below commands… Upgrade KALI Linux on WSL 2020Ĭurrently, while writing this tutorial, our Windows 10 installed KALI version was on 2020.1 and will show the command to upgrade it to KALI 2020.2. Well, here we are talking about the upgrading process of KALI Linux. Thus, it is better to go CLI version only to test and run ethical hacking commands or other various tools. Once I tried and installed successfully, a GUI over KALI WSL, but the performance was poor. However, there would not be any graphical version to use on Linux running on the Windows subsystem for Linux.

As we know, with WSL 1 & WSL 2, we can run Linux like Kali, Ubuntu, and other available, on Windows 10.
