th3fr0x3n
2023-01-24, 22:12
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:
5199
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:
5200
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.
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:
5199
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:
5200
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.