kuboon
10/18/2019 - 10:03 AM

Port 22 forward to WSL

$IP = wsl -d Ubuntu-18.04 exec hostname -I
netsh.exe interface portproxy delete v4tov4 listenport=22
netsh.exe interface portproxy add    v4tov4 listenport=22 connectaddress=$IP