I am trying to get a handle on some issues that I have been having with Kali running in WSL. For the sake of being clear I went througha fresh install of kali and the problems persisted.

To replicate i followed all the steps provided in https://www.kali.org/docs/wsl/win-kex/

When running kex it fails in window mode:

kex win.jpg

ESM and SL mode work

But on top of that SSH fails to work for IPv4:

On a prior build i enabled systemd and was able to see this error:

ssh.jpg

I modified the sshd_config line "addressfamily inet" to force ssh over IPv4 but that resulted in the service completly failing.

generally speaking I am wondering if anyone else is running Kali in WSL and have you seen these problems and have a possible solution.