SSH Settings in WSL
Forwarding SSH Port
In WSL, find IP address with:
Forward the SSH port from WSL to Windows using netsh
command in PowerShell:
netsh interface portproxy add v4tov4 listenport=2222 listenaddress=0.0.0.0 connectport=22 connectaddress=<WSL IP>
Enable the port 2222
in Windows Firewall: