View Issue Details

IDProjectCategoryView StatusLast Update
0008159Kali Linux[All Projects] Kali Package Bugpublic2023-01-26 20:06
Reporterth3fr0x3n Assigned To 
Status newResolutionopen 
Product Version2022.4 
Target VersionFixed in Version 
Summary0008159: WSL kex and SSH errors
DescriptionKali running in WSL failing to run kali in windows mode. ESM and SL will open.

Linking other issue

as it seems very simular

creating new issue because I have the same error but also issues with running ssh.

SSH will not start for IPv4 was running systemd at one point and got the error report that ssh failed to bind to port 22 on because the address was already in use.
Steps To Reproducekex --win

sudo service ssh start



2023-01-26 20:06

reporter   ~0017429

Okay, confession time.
I resolved half my problem.

In order to access my kali image via SSH from other devices in my house I needed a way to get to the SSH server through my windows host machine. I accomplished this with a powershell script that I had gotten off the internet.

The script runs netsh portproxy commands that forward ports like 22 from the outside into the kali vm.

I set this script to run at startup and didn't have any issues starting services on the kali machine.

what changed?

I am not to sure but now if the port proxy is running for 22 the kali machine detects this as the port being used and fails to start up the service for the port.


run the script after the ssh service is running and it works just fine.


This still hasn't resolved the Kex issues so I am not sure if we should close this issue but seeing how the ssh problem was the only thing that made this issue unique from then I understand if the reasoning for resolving it.

NIC-BRIDGE.ps1 (1,255 bytes)

Issue History

Date Modified Username Field Change
2023-01-24 22:28 th3fr0x3n New Issue
2023-01-26 20:06 th3fr0x3n File Added: NIC-BRIDGE.ps1
2023-01-26 20:06 th3fr0x3n Note Added: 0017429